joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b322
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x506550]
xor eax, ebp
mov dword [ebp + 0x7a4], eax
push ebx
push esi
mov esi, dword [ebp + 0x7b0]
push 0x44
xor ebx, ebx
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.0043b4c0
push 0x10
lea eax, [ebp - 0x3c]
push ebx
push eax
mov dword [ebp - 0x80], 0x44
call fcn.0043b4c0
push esi
lea eax, [ebp - 0x2c]
push 0x4c704c
push eax
call fcn.0043c4d1
add esp, 0x24
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41b3c5
cmp byte [ebp + 0x7b4], bl
je 0x41b3b5
mov eax, dword [ebp + 0x7b8]
cmp eax, ebx
jg 0x41b3ab
or eax, 0xffffffff
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call esi
mov ecx, dword [ebp + 0x7a4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b4a5
add ebp, 0x7a8
leave
ret

Function at 0x41b3dc
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x5c4]
sub esp, 0x644
mov eax, dword [0x506550]
xor eax, ebp
mov dword [ebp + 0x5c0], eax
push ebx
mov ebx, dword [ebp + 0x5cc]
push edi
xor edi, edi
cmp ebx, edi
jne 0x41b40c
xor eax, eax
jmp 0x41b4d3
push esi
mov esi, 0x206
push esi
lea eax, [ebp + 0x3ba]
push edi
push eax
mov word [ebp + 0x3b8], di
call fcn.0043b4c0
lea eax, [ebp + 0x3b8]
push ebx
push eax
call fcn.0043b68e
lea eax, [ebp + 0x3b8]
push eax
call fcn.0043f438
push 0x228
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x78]
push edi
push eax
mov dword [ebp - 0x7c], edi
call fcn.0043b4c0
add esp, 0x24
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41b4d0
lea eax, [ebp - 0x7c]
push eax
push ebx
mov dword [ebp - 0x7c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x41b4c5
push esi
lea eax, [ebp + 0x1b2]
push edi
push eax
mov word [ebp + 0x1b0], di
call fcn.0043b4c0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp + 0x1b0]
push eax
call fcn.0043b68e
lea eax, [ebp + 0x1b0]
push eax
call fcn.0043f438
push dword [ebp - 0x80]
push eax
call fcn.0043c72d
add esp, 0x20
test eax, eax
je 0x41b4ea
lea eax, [ebp - 0x7c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41b47a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [ebp + 0x5c0]
pop edi
xor ecx, ebp
pop ebx
call fcn.0043b4a5
add ebp, 0x5c4
leave
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x74]
jmp 0x41b4d2
Function at 0x41b733
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x5a8]
sub esp, 0x628
mov eax, dword [0x506550]
xor eax, ebp
mov dword [ebp + 0x5a4], eax
mov eax, dword [ebp + 0x5b4]
push ebx
mov ebx, dword [ebp + 0x5b0]
push esi
push edi
mov edi, 0x206
xor esi, esi
push edi
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x196]
push esi
push eax
mov dword [ebp - 0x80], ebx
mov word [ebp + 0x194], si
call fcn.0043b4c0
push edi
lea eax, [ebp - 0x72]
push esi
push eax
mov word [ebp - 0x74], si
call fcn.0043b4c0
lea eax, [ebp + 0x194]
push ebx
push eax
call fcn.0043b68e
push dword [ebp - 0x78]
lea eax, [ebp - 0x74]
push eax
call fcn.0043b68e
lea eax, [ebp + 0x194]
push eax
call fcn.0043e4df
lea eax, [ebp - 0x74]
push eax
call fcn.0043e4df
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x194]
push eax
call fcn.0043c72d
add esp, 0x38
test eax, eax
je 0x41b893
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x7c], esi
push edi
lea eax, [ebp + 0x39e]
push esi
push eax
mov word [ebp + 0x39c], si
call fcn.0043b4c0
add esp, 0xc
cmp dword [ebp - 0x7c], esi
lea eax, [ebp + 0x39c]
jne 0x41b816
push dword [ebp - 0x78]
push str._s.bak
push eax
call fcn.0043c4d1
add esp, 0xc
jmp 0x41b82a
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
push str._s.bak_d
push eax
call fcn.0043c4d1
add esp, 0x10
lea eax, [ebp + 0x39c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b848
lea eax, [ebp + 0x39c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0x39c]
push eax
push dword [ebp - 0x78]
call fcn.0043f4a1
pop ecx
pop ecx
lea eax, [ebp + 0x39c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push dword [ebp - 0x78]
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
test eax, eax
push esi
lea eax, [ebp + 0x39c]
push eax
jne 0x41b891
call ebx
cmp dword [ebp - 0x7c], 0xa
jge 0x41b893
inc dword [ebp - 0x7c]
jmp 0x41b7e0
call ebx
mov ecx, dword [ebp + 0x5a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b4a5
add ebp, 0x5a8
leave
ret
Function at 0x41b8ab
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x506550]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
push str..del
push edi
call fcn.0043c416
test eax, eax
pop ecx
pop ecx
je 0x41b8e3
push 5
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x41b97a
push esi
xor esi, esi
and word [ebp - 0x20c], 0
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
call fcn.0043b4c0
add esp, 0xc
test esi, esi
lea eax, [ebp - 0x20c]
jne 0x41b91f
push edi
push str._s.del
push eax
call fcn.0043c4d1
add esp, 0xc
jmp 0x41b92f
push esi
push edi
push str._s.del_d
push eax
call fcn.0043c4d1
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b959
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41b959
cmp esi, 0xa
jge 0x41b979
inc esi
jmp 0x41b8e6
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.0043f4a1
pop ecx
pop ecx
push 5
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0043b4a5
leave
ret

Function at 0x41b987
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x506550]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0x11c
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.0043b4c0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 6
jb 0x41b9d7
cmp dword [ebp - 0x78], 2
jb 0x41b9d7
xor eax, eax
inc eax
jmp 0x41b9de
cmp dword [ebp - 0x7c], 0xa
sbb eax, eax
inc eax
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
call fcn.0043b4a5
add ebp, 0xa0
leave
ret

Function at 0x41b9f3
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa8]
sub esp, 0x128
mov eax, dword [0x506550]
xor eax, ebp
mov dword [ebp + 0xa4], eax
push edi
push 0x114
xor edi, edi
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.0043b4c0
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x70], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41ba9b
cmp dword [ebp - 0x6c], 5
jbe 0x41ba9b
push 4
pop eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x74]
push eax
push 0x20019
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41ba9b
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x80]
push eax
push edi
push str.EnableLUA
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41ba92
cmp dword [ebp - 0x78], edi
setne al
mov edi, eax
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0xa4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.0043b4a5
add ebp, 0xa8
leave
ret
Function at 0x41bccd
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xb94]
sub esp, 0xc14
mov eax, dword [0x506550]
xor eax, ebp
mov dword [ebp + 0xb90], eax
push esi
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp + 0x782]
push edi
push eax
mov word [ebp + 0x780], di
call fcn.0043b4c0
lea eax, [ebp + 0x780]
push str.C:log_
push eax
call fcn.0043b68e
push 0x3e6
lea eax, [ebp - 0x76]
push edi
push eax
mov word [ebp - 0x78], di
call fcn.0043b4c0
lea eax, [ebp + 0x780]
push eax
lea eax, [ebp + 0x578]
push str._sgswb.log
push eax
call fcn.0043c4d1
push esi
lea eax, [ebp + 0x372]
push edi
push eax
mov word [ebp + 0x370], di
call fcn.0043b4c0
push esi
lea eax, [ebp + 0x98a]
push edi
push eax
mov word [ebp + 0x988], di
call fcn.0043b4c0
add esp, 0x44
push 0x104
lea eax, [ebp + 0x988]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x988]
push 0x5c
push eax
call fcn.0043c3e6
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
mov word [eax], di
pop ecx
lea eax, [ebp + 0x578]
push eax
call esi
test eax, eax
je 0x41bea5
lea eax, [ebp + 0x988]
push ebx
push eax
call fcn.0043b6aa
lea eax, [ebp + eax*2 + 0x98a]
push eax
lea eax, [ebp + 0x370]
push eax
call fcn.0043b68e
lea eax, [ebp + 0x370]
push eax
lea eax, [ebp + 0x780]
push eax
lea eax, [ebp + 0x578]
push str._s_s.txt
push eax
call fcn.0043c4d1
lea eax, [ebp + 0xba0]
push eax
push dword [ebp + 0xb9c]
lea eax, [ebp - 0x78]
push 0x1f3
push eax
call fcn.0043f81a
add esp, 0x2c
lea eax, [ebp + 0x578]
push eax
mov word [ebp + 0x36e], di
mov dword [ebp - 0x7c], edi
call esi
xor ebx, ebx
inc ebx
test eax, eax
je 0x41be27
mov dword [ebp - 0x7c], ebx
lea eax, [ebp + 0x578]
push 0x4ca0a8
push eax
call fcn.0043c71a
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
je 0x41bea4
cmp dword [ebp - 0x7c], edi
jne 0x41be5c
push esi
push 2
lea eax, [ebp - 0x80]
push ebx
push eax
mov dword [ebp - 0x80], 0xfeff
call fcn.0043ada7
add esp, 0x10
lea eax, [ebp - 0x78]
push eax
call fcn.0043b6aa
push esi
add eax, eax
push eax
lea eax, [ebp - 0x78]
push ebx
push eax
call fcn.0043ada7
push esi
push 2
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x7c], 0xd
call fcn.0043ada7
push esi
push 2
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x7c], 0xa
call fcn.0043ada7
push esi
call fcn.0043a8e6
add esp, 0x38
pop ebx
mov ecx, dword [ebp + 0xb90]
pop edi
xor ecx, ebp
pop esi
call fcn.0043b4a5
add ebp, 0xb94
leave
ret
Function at 0x41bebc
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7fc]
sub esp, 0x87c
mov eax, dword [0x506550]
xor eax, ebp
mov dword [ebp + 0x7f8], eax
mov eax, dword [ebp + 0x804]
push ebx
mov ebx, dword [ebp + 0x808]
push esi
push edi
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x80c]
mov esi, 0x206
xor edi, edi
push esi
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x1e2]
push edi
push eax
mov word [ebp + 0x1e0], di
call fcn.0043b4c0
push esi
lea eax, [ebp + 0x3ea]
push edi
push eax
mov word [ebp + 0x3e8], di
call fcn.0043b4c0
lea eax, [ebp + 0x3e8]
push ebx
push eax
call fcn.0043b68e
push dword [ebp - 0x74]
lea eax, [ebp + 0x1e0]
push str._s.
push eax
call fcn.0043c4d1
add esp, 0x2c
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x1e0]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edi
je 0x41c067
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x41c067
cmp word [ebp - 0x44], 0x2e
je 0x41bf6d
cmp word [ebp - 0x42], di
je 0x41bf6d
cmp word [ebp - 0x42], 0x2e
jne 0x41bf9c
cmp word [ebp - 0x40], di
je 0x41bf6d
test byte [ebp - 0x70], 0x10
je 0x41bfe6
push esi
lea eax, [ebp + 0x5f2]
push edi
push eax
mov word [ebp + 0x5f0], di
call fcn.0043b4c0
lea eax, [ebp + 0x3e8]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x74]
lea eax, [ebp + 0x5f0]
push 0x4c6fe8
push eax
call fcn.0043c4d1
add esp, 0x20
lea eax, [ebp + 0x5f0]
push eax
call ebx
test eax, eax
jne 0x41c04f
lea eax, [ebp + 0x3e8]
push eax
call fcn.0043e4df
pop ecx
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0043e4df
pop ecx
push eax
call fcn.0043c72d
test eax, eax
pop ecx
pop ecx
jne 0x41bf6d
push esi
lea eax, [ebp + 0x5f2]
push edi
push eax
mov word [ebp + 0x5f0], di
call fcn.0043b4c0
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x74]
lea eax, [ebp + 0x5f0]
push 0x4c7040
push eax
call fcn.0043c4d1
add esp, 0x1c
lea eax, [ebp + 0x5f0]
push eax
call ebx
test eax, eax
je 0x41bf6d
lea eax, [ebp + 0x5f0]
push eax
push dword [ebp - 0x80]
mov dword [ebp - 0x78], 1
call fcn.0043b68e
pop ecx
pop ecx
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x7f8]
mov eax, dword [ebp - 0x78]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b4a5
add ebp, 0x7fc
leave
ret

Function at 0x41c2bd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0043b6aa
test eax, eax
pop ecx
je 0x41c315
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0043b4c0
add esp, 0xc
xor ecx, ecx
inc ecx
push ecx
push 0
push 0
mov eax, str.open
push esi
push eax
push 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], 0x200
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x41c315
push esi
call fcn.0041b287
pop ecx
pop esi
leave
ret
Function at 0x41c318
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0043b6aa
test eax, eax
pop ecx
je 0x41c3a1
push ebx
push 0x3c
xor ebx, ebx
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.0043b4c0
add esp, 0xc
push 1
push ebx
push ebx
mov eax, str.open
push esi
push eax
push ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], 0x200
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x41c37a
push dword [ebp + 0x10]
push 1
push esi
call fcn.0041b322
add esp, 0xc
jmp 0x41c3a0
cmp byte [ebp + 0xc], bl
je 0x41c3a0
mov eax, dword [ebp + 0x10]
cmp eax, ebx
jg 0x41c389
or eax, 0xffffffff
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
pop ebx
pop esi
leave
ret

Function at 0x41ca30
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xfdc]
sub esp, 0xfdc
push 0xffffffffffffffff
push 0x4c163b
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x506550]
xor eax, ebp
mov dword [ebp + 0xfd8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xfe4]
push 0x7d0
lea eax, [ebp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Program_FilesInternet_Exploreriexplore.exe
push 0x4ca174
call fcn.0043b6aa
pop ecx
lea eax, [ebp + eax*2 + 0x38]
push eax
call fcn.0043b68e
lea eax, [ebp + 0x38]
push esi
push eax
call fcn.0043b664
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.0043b4c0
add esp, 0x1c
mov edi, str.open
push esi
lea ecx, [ebp]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], 0x200
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], 1
call fcn.004015c0
and dword [ebp - 4], 0
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x41cae4
lea eax, [ebp + 4]
mov ebx, 0x4dfc54
push ebx
push eax
call fcn.0043c416
pop ecx
pop ecx
push 0x4dfbb4
lea ecx, [ebp + 0x1c]
mov dword [ebp - 0x10], eax
call fcn.004015c0
cmp dword [ebp - 0x10], 0
mov byte [ebp - 4], 1
jne 0x41cb15
push ebx
lea ecx, [ebp + 0x1c]
call fcn.00401790
push esi
lea ecx, [ebp + 0x1c]
call fcn.004036c0
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x41cb2a
lea eax, [ebp + 0x20]
xor ebx, ebx
inc ebx
push ebx
xor esi, esi
push esi
push esi
push eax
push edi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x41cb52
push 0x7d0
lea eax, [ebp + 0x38]
push ebx
push eax
call fcn.0041b322
add esp, 0xc
push esi
push ebx
lea ecx, [ebp + 0x1c]
call fcn.004017c0
push esi
push ebx
lea ecx, [ebp]
call fcn.004017c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xfd8]
xor ecx, ebp
call fcn.0043b4a5
add ebp, 0xfdc
leave
ret
Function at 0x41d4d1
Capabilities:
Create process on windows
Get common file path

Disassembly:
call fcn.0041b160
test eax, eax
je 0x41d4df
jmp fcn.0041ca30
jmp fcn.0041d428

Function at 0x41d4e4
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
sub esp, 0x11c
lea ebp, [esp - 4]
mov eax, dword [0x506550]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push 0x2c
mov eax, 0x4c17a2
call fcn.0043c032
mov edi, dword [ebp + 0x128]
lea eax, [ebp - 0x38]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x11c
lea eax, [ebp]
push ebx
push eax
call fcn.0043b4c0
add esp, 0xc
lea eax, [ebp]
push eax
mov dword [ebp], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x4dfbb4
mov ecx, edi
call fcn.004015c0
mov eax, dword [ebp + 4]
xor ecx, ecx
inc ecx
sub eax, 4
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ecx
je 0x41d66e
dec eax
je 0x41d636
dec eax
je 0x41d59e
sub eax, 4
je 0x41d580
push str.Unknown_Operating_System
jmp 0x41d6a4
cmp byte [ebp + 0x11a], cl
mov ecx, edi
jne 0x41d594
push str.Microsoft_Windows_10_Insider_Preview
jmp 0x41d6a6
push str.Microsoft_Windows_Server_Technical_Preview
jmp 0x41d6a6
mov eax, dword [ebp + 8]
sub eax, ebx
je 0x41d61e
dec eax
je 0x41d600
dec eax
je 0x41d5c9
cmp byte [ebp + 0x11a], cl
mov ecx, edi
jne 0x41d5bf
push str.Microsoft_Windows_8.1
jmp 0x41d6a6
push str.Microsoft_Windows_Server_2012_R2
jmp 0x41d6a6
cmp byte [ebp + 0x11a], cl
jne 0x41d5f6
push 4
push 6
call fcn.0041d0a4
test eax, eax
pop ecx
pop ecx
mov ecx, edi
je 0x41d5ec
push str.Microsoft_Windows_10
jmp 0x41d6a6
push str.Microsoft_Windows_8
jmp 0x41d6a6
push str.Microsoft_Windows_Server_2012
jmp 0x41d6a4
cmp byte [ebp + 0x11a], cl
mov ecx, edi
jne 0x41d614
push str.Microsoft_Windows_7
jmp 0x41d6a6
push str.Microsoft_Windows_Server_2008_R2
jmp 0x41d6a6
cmp byte [ebp + 0x11a], cl
mov ecx, edi
jne 0x41d62f
push str.Microsoft_Windows_Vista
jmp 0x41d6a6
push str.Microsoft_Windows_Server_2008
jmp 0x41d6a6
mov eax, dword [ebp + 8]
sub eax, ebx
je 0x41d667
dec eax
je 0x41d660
dec eax
jne 0x41d6ab
cmp byte [ebp + 0x11a], cl
jne 0x41d659
cmp word [ebp - 0x38], 9
jne 0x41d659
push str.Microsoft_Windows_XP_Professional_x64_Edition
jmp 0x41d6a4
push str.Microsoft_Windows_Server_2003
jmp 0x41d6a4
push str.Microsoft_Windows_XP
jmp 0x41d6a4
push str.Microsoft_Windows_2000
jmp 0x41d6a4
cmp dword [ebp + 8], ebx
je 0x41d68d
cmp dword [ebp + 8], 0xa
je 0x41d686
cmp dword [ebp + 8], 0x5a
jne 0x41d6ab
push str.Microsoft_Windows_Me
jmp 0x41d6a4
push str.Microsoft_Windows_98
jmp 0x41d6a4
cmp dword [ebp + 0x10], 2
jne 0x41d69a
push str.Microsoft_Windows_NT_4.0
jmp 0x41d6a4
cmp dword [ebp + 0x10], ecx
jne 0x41d6ab
push str.Microsoft_Windows_95
mov ecx, edi
call fcn.00401790
cmp dword [ebp + 0x12c], ebx
je 0x41d6ca
push 0x4c8a94
mov ecx, edi
call fcn.004036c0
lea eax, [ebp + 0x14]
push eax
mov ecx, edi
call fcn.004036c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.0043b4a5
add ebp, 0x120
leave
ret
Function at 0x41d6ef
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x41e498
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x5c0]
sub esp, 0x640
mov eax, dword [0x506550]
xor eax, ebp
mov dword [ebp + 0x5bc], eax
mov eax, dword [ebp + 0x5c8]
push ebx
mov dword [ebp - 0x78], eax
push esi
push edi
xor eax, eax
xor ebx, ebx
mov word [ebp + 0x5a8], bx
lea edi, [ebp + 0x5aa]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x206
push edi
lea eax, [ebp + 0x3a2]
push ebx
push eax
mov word [ebp + 0x3a0], bx
call fcn.0043b4c0
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp + 0x3a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4dfb98
call fcn.0043b6aa
push eax
lea eax, [ebp + 0x3a0]
push eax
lea eax, [ebp + 0x5a8]
push eax
call fcn.0043b81b
push edi
lea eax, [ebp + 0x19a]
push ebx
push eax
mov word [ebp + 0x198], bx
call fcn.0043b4c0
push edi
lea eax, [ebp - 0x6e]
push ebx
push eax
mov word [ebp - 0x70], bx
call fcn.0043b4c0
add esp, 0x28
push esi
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
push esi
lea eax, [ebp + 0x198]
push eax
lea eax, [ebp + 0x5a8]
push eax
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
pop edi
pop esi
pop ebx
je 0x41e596
push dword [ebp - 0x74]
push str._08X
push dword [ebp - 0x78]
call fcn.0043c4d1
add esp, 0xc
jmp 0x41e5a5
push 0x4dfbb4
push dword [ebp - 0x78]
call fcn.0043b68e
pop ecx
pop ecx
mov ecx, dword [ebp + 0x5bc]
xor ecx, ebp
call fcn.0043b4a5
add ebp, 0x5c0
leave
ret 4