joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438918
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x743894
call fcn.005f004f
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor esi, esi
mov dword [ebp - 0x24c], edi
push esi
push eax
call fcn.005c1f30
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x19
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
test eax, eax
je 0x4389d6
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00409440
and dword [ebp - 4], 0
push 0x75b4c8
call fcn.005c5a2e
pop ecx
push eax
push 0x75b4c8
lea ecx, [ebp - 0x230]
call fcn.0040d810
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.004385dc
mov edi, eax
lea ecx, [ebp - 0x230]
test edi, edi
je 0x4389c7
call fcn.0040a140
mov eax, edi
jmp 0x438a4f
or dword [ebp - 4], 0xffffffff
call fcn.0040a140
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x438a4d
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00409440
mov esi, 0x75b4c8
mov dword [ebp - 4], 1
push esi
call fcn.005c5a2e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.0040d810
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.004385dc
lea ecx, [ebp - 0x248]
mov esi, eax
call fcn.0040a140
test esi, esi
je 0x438a4d
mov eax, esi
jmp 0x438a4f
xor eax, eax
call fcn.005f000a
ret 4
Function at 0x438a57
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x85e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ebx
test edi, edi
je 0x438bb8
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], ebx
push eax
push 9
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x41c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x438bb8
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.005c1f30
add esp, 0xc
mov dword [ebp - 0x420], ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x438ba4
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x438b7e
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.005c1f30
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x438b72
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.005c349b
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x438bac
mov eax, dword [ebp - 0x420]
lea ecx, [ebp - 0x20c]
push 0x104
inc eax
push ecx
push eax
push dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x438ae9
push dword [ebp - 0x418]
call ebx
mov eax, esi
jmp 0x438bba
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419933
leave
ret 4

Function at 0x4396f7
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x85e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
jne 0x43971c
xor eax, eax
jmp 0x4397af
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
push esi
push eax
call fcn.005c1f30
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x109
push esi
push str.SYSTEMCurrentControlSetServices_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4397ad
push ebx
push 0x104
lea eax, [ebp - 0x20c]
mov ebx, esi
push eax
push esi
jmp 0x43978b
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.005c5337
pop ecx
pop ecx
test eax, eax
je 0x43979d
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x43976a
jmp 0x4397a0
xor esi, esi
inc esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00419933
leave
ret 4
Function at 0x439bf8
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x83c
mov eax, 0x743a49
call fcn.005f004f
mov ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x628]
push 0x208
xor edi, edi
push edi
push eax
call fcn.005c1f30
add esp, 0xc
lea eax, [ebp - 0x628]
push edi
push 0x1a
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x848]
call fcn.00409440
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
mov dword [ebp - 4], edi
call fcn.005c5a2e
pop ecx
push eax
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
lea ecx, [ebp - 0x848]
call fcn.0040d810
push esi
call fcn.005c5a2e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.0040d810
mov esi, str..lnk
push esi
call fcn.005c5a2e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.0040d810
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x848]
push eax
call esi
test eax, eax
je 0x439d78
push 0x208
lea eax, [ebp - 0x830]
push edi
push eax
call fcn.005c1f30
push 0x208
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.005c1f30
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.005d28f3
add esp, 0x20
lea eax, [ebp - 0x420]
mov ecx, ebx
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0043833b
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.005c1f30
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x218]
push eax
call fcn.005c5a2e
pop ecx
test eax, eax
jne 0x439d68
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005d28f3
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
je 0x439d78
xor edi, edi
inc edi
lea ecx, [ebp - 0x848]
call fcn.0040a140
mov eax, edi
call fcn.005f000a
ret 4

Function at 0x439d8d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x85e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [0x877420]
test bl, bl
jne 0x439e24
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005c1f30
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x439e1e
lea eax, [ebp - 0x20c]
push eax
call fcn.005d2abe
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.005c349b
pop ecx
pop ecx
test eax, eax
jne 0x439e16
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.005c349b
pop ecx
pop ecx
test eax, eax
je 0x439e1e
mov byte [0x877420], bl
jmp 0x439e24
mov bl, byte [0x877420]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00419933
leave
ret
Function at 0x43a936
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x85e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.005c1f30
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push 0x17
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43a9a1
lea eax, [ebp - 0x20c]
push 0x75b4c8
push eax
call fcn.005d2b61
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00439e33
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419933
leave
ret 4
Function at 0x43bae8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
and dword [ebp - 4], 0
call fcn.0057e610
mov edi, eax
test edi, edi
je 0x43bc12
push 0x75cda8
lea eax, [ebp - 4]
push ebx
push eax
call fcn.005d59a6
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x43bb33
push edi
call fcn.0057e5d0
pop ecx
or eax, 0xffffffff
jmp 0x43bc14
push dword [ebp + 8]
push 0x2712
push edi
call fcn.0057f2e0
push 1
push 0x34
push edi
mov esi, eax
call fcn.0057f2e0
push 0x1e
push 0xd
push edi
call fcn.0057f2e0
push 1
push 0x63
push edi
call fcn.0057f2e0
push 0x2710
push 0x9b
push edi
call fcn.0057f2e0
add esp, 0x3c
test esi, esi
je 0x43bb90
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 4]
call fcn.005d5a63
push edi
call fcn.0057e5d0
pop ecx
jmp 0x43bb2a
push 0x43c14e
push 0x4e2b
push edi
call fcn.0057f2e0
add esp, 0xc
test eax, eax
jne 0x43bb78
push eax
push 0x40
push edi
call fcn.0057f2e0
push dword [ebp - 4]
push 0x2711
push edi
call fcn.0057f2e0
add esp, 0x18
test eax, eax
jne 0x43bb78
push edi
call fcn.0057e650
push dword [ebp - 4]
mov esi, eax
call fcn.005d5a63
pop ecx
pop ecx
test esi, esi
je 0x43bc0b
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call fcn.0057eb10
pop ecx
push eax
push str.curl_easy_perform___failed:__s_n
push 2
call fcn.005d7508
pop ecx
push eax
call fcn.0043c17a
push edi
call fcn.0057e5d0
add esp, 0x10
jmp 0x43bb2b
push edi
call fcn.0057e5d0
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43c30e
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.005c5a2e
mov dword [ebp - 4], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00419a86
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.005d28f3
mov eax, dword [ebp - 4]
xor edi, edi
add esp, 0x10
xor ebx, ebx
inc edi
test eax, eax
js 0x43c388
push 0x5c
pop ecx
cmp word [esi + ebx*2], cx
jne 0x43c37f
xor eax, eax
push esi
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43c375
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x43c386
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [esi + ebx*2], cx
inc ebx
cmp ebx, eax
jle 0x43c352
jmp 0x43c388
xor edi, edi
push esi
call fcn.00419975
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43c396
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x85e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x1a
push eax
push 0
call fcn.0043c871
lea eax, [ebp - 0x20c]
push eax
call fcn.005c5a2e
add esp, 0x14
test eax, eax
je 0x43c441
push ebx
mov ebx, 0x75b4c8
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.005d2b61
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.005d2b61
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.005d2b61
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ebx
test eax, eax
jne 0x43c425
lea eax, [ebp - 0x20c]
push eax
call fcn.0043c30e
pop ecx
lea eax, [ebp - 0x20c]
push eax
call fcn.005c5a2e
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.0040a2c0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00419933
leave
ret

Function at 0x43c572
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x85e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [0x877530]
test bl, bl
jne 0x43c609
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005c1f30
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43c603
lea eax, [ebp - 0x20c]
push eax
call fcn.005d2abe
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.005c349b
pop ecx
pop ecx
test eax, eax
jne 0x43c5fb
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.005c349b
pop ecx
pop ecx
test eax, eax
je 0x43c603
mov byte [0x877530], bl
jmp 0x43c609
mov bl, byte [0x877530]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00419933
leave
ret
Function at 0x43c618
Capabilities:
Check if file exists

Disassembly:
push 0xc50
mov eax, 0x743e79
call fcn.005f004f
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc40]
mov ebx, dword [ebp + 0xc]
mov esi, 0x208
push esi
push 0
push eax
mov dword [ebp - 0xc5c], edi
call fcn.005c1f30
push esi
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.005c1f30
push esi
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.005c1f30
push esi
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.005c1f30
push esi
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005c1f30
push esi
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005c1f30
xor ecx, ecx
mov dword [ebp - 0xc44], 7
xor eax, eax
mov dword [ebp - 0xc48], ecx
add esp, 0x48
mov word [ebp - 0xc58], ax
push ecx
push 0x1a
lea eax, [ebp - 0xc40]
mov dword [ebp - 4], ecx
push eax
push ecx
call fcn.0043c871
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005d28f3
lea eax, [ebp - 0x218]
push eax
call fcn.005c5a2e
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.005c3030
add esp, 0x24
test eax, eax
je 0x43c82d
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.005d28f3
lea eax, [ebp - 0x830]
push str.Local
push eax
call fcn.005d2b61
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
xor esi, esi
inc ecx
test eax, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
cmovne esi, ecx
push eax
call fcn.005d28f3
lea eax, [ebp - 0x628]
push str.LocalLow
push eax
call fcn.005d2b61
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xc5c], ecx
push eax
call fcn.005d28f3
lea eax, [ebp - 0xa38]
push str.Roaming
push eax
call fcn.005d2b61
add esp, 0x10
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
test esi, esi
je 0x43c82d
cmp dword [ebp - 0xc5c], 0
je 0x43c82d
test ecx, ecx
je 0x43c82d
push ebx
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push 0x75ce18
push eax
call fcn.0040d2b0
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43c80b
lea eax, [ebp - 0x420]
push eax
call fcn.0043c30e
pop ecx
lea eax, [ebp - 0x420]
push eax
call fcn.005c5a2e
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.0040a2c0
jmp 0x43c83c
lea eax, [ebp - 0xc58]
push ebx
push eax
call fcn.0043c396
pop ecx
pop ecx
xor eax, eax
mov ecx, edi
mov byte [ebp - 0xc5c], al
push dword [ebp - 0xc5c]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
lea eax, [ebp - 0xc58]
push eax
call fcn.0040a530
lea ecx, [ebp - 0xc58]
call fcn.0040a140
mov eax, edi
call fcn.005f000a
ret
Function at 0x43cfe2
Capabilities:
Create process on windows

Disassembly:
push 0x90
mov eax, 0x743f5c
call fcn.005f004f
mov eax, dword [ebp + 0x18]
xor esi, esi
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x44
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x9c]
push esi
push eax
mov dword [ebp - 0x44], esi
call fcn.005c1f30
push 0x10
lea eax, [ebp - 0x58]
mov dword [ebp - 0x9c], 0x44
push esi
push eax
call fcn.005c1f30
add esp, 0x18
mov dword [ebp - 0x18], esi
xor eax, eax
mov word [ebp - 0x28], ax
push 7
pop ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
test edi, edi
je 0x43d0ba
push edi
call fcn.005c5a2e
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.0040a2c0
cmp dword [ebp - 0x30], esi
je 0x43d0ba
mov edi, 0x75ce54
push edi
call fcn.005c5a2e
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040a2c0
push ebx
call fcn.005c5a2e
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040d810
mov edi, 0x75ce58
push edi
call fcn.005c5a2e
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040d810
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040d810
jmp 0x43d0cb
push ebx
call fcn.005c5a2e
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040a2c0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x67
call fcn.00430f7f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
pop ecx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x9c]
push ecx
push esi
push esi
push esi
push 1
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x43d154
cmp byte [ebp + 0x10], 0
je 0x43d124
or eax, 0xffffffff
cmp dword [ebp + 0x14], 0
cmovg eax, dword [ebp + 0x14]
push eax
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x43d141
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x43d141
mov eax, dword [ebp - 0x44]
mov dword [esi], eax
push dword [ebp - 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x54]
call esi
xor esi, esi
inc esi
lea ecx, [ebp - 0x40]
call fcn.0040a140
lea ecx, [ebp - 0x28]
call fcn.0040a140
mov eax, esi
call fcn.005f000a
ret
Function at 0x43d334
Capabilities:
Enumerate processes

Disassembly:
push 0x280
mov eax, 0x743fc4
call fcn.005f004f
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, ebx
mov dword [ebp - 0x28c], esi
test eax, eax
je 0x43d488
push eax
lea ecx, [ebp - 0x40]
call fcn.00409440
lea eax, [ebp - 0x40]
mov dword [ebp - 4], ebx
push eax
call fcn.0042ee06
mov dword [esp], 0x22c
lea eax, [ebp - 0x284]
push ebx
push eax
call fcn.005c1f30
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x43d47e
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x43d477
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28]
call fcn.00409440
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.0042ee06
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040e4a0
test al, al
jne 0x43d40e
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0042e534
pop ecx
pop ecx
or esi, 1
lea ecx, [ebp - 0x40]
push eax
mov dword [ebp - 0x28c], esi
call fcn.0040e4a0
mov byte [ebp - 0x285], bl
test al, al
je 0x43d415
mov byte [ebp - 0x285], 1
mov eax, dword [ebp - 0x28c]
test al, 1
je 0x43d430
and eax, 0xfffffffe
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x28c], eax
call fcn.0040a140
cmp byte [ebp - 0x285], 0
jne 0x43d460
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0040a140
lea eax, [ebp - 0x284]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x43d477
mov esi, dword [ebp - 0x28c]
jmp 0x43d3b6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x27c]
lea ecx, [ebp - 0x28]
call fcn.0040a140
jmp 0x43d47e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x40]
call fcn.0040a140
mov eax, ebx
call fcn.005f000a
ret

Function at 0x43dd23
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebp
ret 4

Function at 0x43df95
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 0x43e77d
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fa4
call fcn.005f0180
mov eax, dword [0x85e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x804]
push edi
mov edi, 0x800
xor ebx, ebx
push edi
push ebx
push eax
call fcn.005c1f30
push edi
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.005c1f30
add esp, 0x18
lea eax, [ebp - 0x1fa4]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x75cf28
push 0x75cf88
call fcn.005c5a2e
pop ecx
lea ecx, [ebp - 0x1fa4]
lea eax, [ecx + eax*2]
push eax
call fcn.005d28f3
lea eax, [ebp - 0x1fa4]
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.005d28f3
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.005d28f3
lea eax, [ebp - 0x1fa4]
push esi
push eax
call fcn.005d2b61
add esp, 0x20
push 1
push ebx
push ebx
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x43e850
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x804]
push ecx
lea ecx, [ebp - 0x1004]
push ecx
call fcn.0043cfe2
add esp, 0x14
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00419933
leave
ret 4

Function at 0x43e8e2
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push edi
push str.kernel32.dll
mov esi, ecx
call ebx
mov dword [esi], eax
test eax, eax
je 0x43e963
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNativeSystemInfo
push eax
call edi
push str.IsWow64Process
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.Wow64DisableWow64FsRedirection
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.Wow64RevertWow64FsRedirection
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.GetSystemWow64DirectoryW
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call ebx
mov dword [esi + 4], eax
test eax, eax
je 0x43e963
mov ebx, str.Wow64RevertWow64FsRedirection
push ebx
push eax
call edi
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
jmp 0x43e965
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x43e986
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x244
mov eax, 0x74412e
call fcn.005f004f
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x218]
push ebx
push eax
mov dword [ebp - 0x24c], ebx
call fcn.005c1f30
add esp, 0xc
lea eax, [ebp - 0x218]
mov edi, ebx
push 0x104
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x43ea76
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x43ea68
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00409440
and dword [ebp - 4], 0
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0042ef95
pop ecx
pop ecx
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 2
call fcn.0040a140
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push dword [ebp - 0x250]
call fcn.0043d58f
pop ecx
pop ecx
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0040a5d0
push 0x104
lea eax, [ebp - 0x218]
inc edi
push eax
push edi
push esi
call ebx
test eax, eax
je 0x43e9d8
call fcn.005f000a
ret