joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bc480
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f23cf
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 1
cmp dword [ebp + 0xc], 0
je 0x4bc4c0
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp - 0x68], eax
jmp 0x4bc4c7
mov dword [ebp - 0x68], 0
cmp dword [ebp + 8], 0
je 0x4bc4d8
mov ecx, dword [ebp + 8]
add ecx, 4
mov dword [ebp - 0x6c], ecx
jmp 0x4bc4df
mov dword [ebp - 0x6c], 0
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.00407b10
add esp, 0xc
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x74], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x34]
call fcn.00417720
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.00414bf0
push 0
lea ecx, [ebp - 0x34]
push ecx
call fcn.0048ded0
add esp, 8
movzx edx, al
test edx, edx
je 0x4bc668
push 1
lea ecx, [ebp - 0x30]
call fcn.00413e50
push eax
call fcn.004857a0
add esp, 8
test eax, eax
jne 0x4bc668
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0xc], 0
je 0x4bc567
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp - 0x78], eax
jmp 0x4bc56e
mov dword [ebp - 0x78], 0
push 0x50fad0
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.004167d0
add esp, 8
movzx edx, al
test edx, edx
je 0x4bc5d3
push 0
push 0x4bb9c0
call dword [sym.imp.USER32.dll_EnumWindows]
push 5
lea ecx, [ebp - 0x30]
call fcn.00413e50
push eax
call fcn.004857a0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4bc5d3
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.004bc1f0
add esp, 8
push 0xa
lea ecx, [ebp - 0x30]
call fcn.00413e50
push eax
call fcn.004857a0
add esp, 8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4bc668
lea ecx, [ebp - 0x40]
call fcn.00419860
mov byte [ebp - 4], 3
mov dword [ebp - 0x44], 4
cmp dword [ebp - 0x10], 0
jne 0x4bc65c
cmp dword [ebp - 0x44], 4
jne 0x4bc65c
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 4
call fcn.00413e50
push eax
call fcn.0048d610
add esp, 8
movzx eax, al
test eax, eax
je 0x4bc63d
push 0
lea ecx, [ebp - 0x40]
push ecx
push 0x416
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x44], eax
jmp 0x4bc644
mov dword [ebp - 0x44], 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00413e50
push eax
call fcn.004857a0
add esp, 8
mov dword [ebp - 0x10], eax
jmp 0x4bc5f8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004196e0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00414a10
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret
Function at 0x4bc920
Capabilities:
Create process on windows
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2414
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 0
je 0x4bc95e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
jne 0x4bc965
xor eax, eax
jmp 0x4bcb0d
push 0
push 0xa
call fcn.004b4e10
add esp, 8
test eax, eax
jne 0x4bc97c
xor eax, eax
jmp 0x4bcb0d
lea ecx, [ebp - 0x10]
call fcn.004382e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040b800
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [edx]
call ecx
test eax, eax
jne 0x4bcaf4
lea ecx, [ebp - 0x10]
call fcn.0040ae10
test eax, eax
je 0x4bcaf4
lea ecx, [ebp - 0x5d]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x34]
call fcn.004148f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004382e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x10]
call fcn.0040ae10
push eax
call fcn.0042b570
add esp, 8
lea ecx, [ebp - 0x38]
call fcn.0040ae10
test eax, eax
je 0x4bcadc
lea ecx, [ebp - 0x38]
call fcn.0040ae10
mov dword [ebp - 0x6c], eax
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
test eax, eax
jne 0x4bcadc
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.004245c0
mov byte [ebp - 4], 3
push str.Debug_entry.html
push 0x1b
lea edx, [ebp - 0x34]
push edx
mov ecx, 0x595e28
call fcn.004e0480
push 0
lea ecx, [ebp - 0x58]
call fcn.00410bd0
add eax, 1
push eax
lea ecx, [ebp - 0x58]
call fcn.00411920
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004903b0
add esp, 0x10
movzx ecx, al
test ecx, ecx
je 0x4bcad0
push 5
push 0
push 0
lea ecx, [ebp - 0x30]
call fcn.00413e50
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.00418f70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00438260
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00414a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00438260
mov eax, dword [ebp - 0x64]
jmp 0x4bcb0d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.00418f70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00438260
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00414a10
mov dword [ebp - 0x68], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00438260
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret 8
Function at 0x4bd110
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f47d9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x5392a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x1c]
call fcn.00419540
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
push 1
push 0x5101e8
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.00419460
test eax, eax
jne 0x4bd178
mov dword [ebp - 0x10], 2
jmp 0x4bd197
push 1
push 0x510228
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.00419460
test eax, eax
jne 0x4bd197
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x1c]
call fcn.004194d0
push 0
push 0
push 0x2001f
push 0
push 0
push 0x510270
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.0041d020
mov dword [ebp - 0x14], eax
xor edx, edx
cmp dword [ebp - 0x14], 0
setne dl
mov eax, dword [ebp - 0x20]
mov dword [eax + 8], edx
lea ecx, [ebp - 0x1c]
call fcn.004194d0
cmp dword [ebp - 0x10], 2
jge 0x4bd20a
cmp dword [ebp - 0x14], 0
jne 0x4bd20a
push 0x5102b0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp - 0x10], 0
jne 0x4bd20a
push str.SoftwareBabylon_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 4], 0
jne 0x4bd21d
push 1
mov ecx, dword [ebp - 0x20]
call fcn.004bce70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00419520
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4c0320
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef11b
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x248], ecx
mov ecx, dword [ebp - 0x248]
add ecx, 0x2c
call fcn.00413930
movzx eax, al
test eax, eax
je 0x4c0423
lea ecx, [ebp - 0x21c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x4c0423
call fcn.004877f0
xor eax, 0x33333
and eax, 0xffffff
mov dword [ebp - 0x220], eax
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x510ac0
mov eax, dword [ebp - 0x220]
push eax
push str._X._sp
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00448da2
add esp, 4
lea edx, [ebp + eax*2 - 0x21c]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x241]
call fcn.0040b800
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x240]
call fcn.00414c40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x240]
push ecx
mov ecx, dword [ebp - 0x248]
add ecx, 0x28
call fcn.00415500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.00414a10
mov ecx, dword [ebp - 0x248]
add ecx, 0x2c
call fcn.00413930
movzx eax, al
neg eax
sbb eax, eax
add eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret
Function at 0x4c29d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1139
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd8], 4
lea ecx, [ebp - 0xd9]
call fcn.0040b800
push eax
lea ecx, [ebp - 0xd4]
call fcn.004148f0
mov dword [ebp - 4], 0
mov eax, 0x595c94
test eax, eax
je 0x4c2a3c
mov ecx, 0x595c94
add ecx, 4
mov dword [ebp - 0x124], ecx
jmp 0x4c2a46
mov dword [ebp - 0x124], 0
push str.TBConfig.inf
mov edx, dword [ebp - 0x124]
push edx
lea eax, [ebp - 0xf8]
push eax
call fcn.00407a80
add esp, 0xc
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x12c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x12c]
push edx
lea ecx, [ebp - 0xb4]
call fcn.00417720
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xf8]
call fcn.00414bf0
xor eax, eax
mov word [ebp - 0x94], ax
push 0x7e
push 0
lea ecx, [ebp - 0x92]
push ecx
call fcn.0044aec0
add esp, 0xc
lea ecx, [ebp - 0xb0]
call fcn.00413e50
push eax
push 0x40
lea edx, [ebp - 0x94]
push edx
push 0x510fe8
push str.name
push str.toolbar
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4c2b25
lea ecx, [ebp - 0x119]
call fcn.0040b800
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x118]
call fcn.00414c40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.00415500
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x118]
call fcn.00414a10
lea ecx, [ebp - 0xd0]
call fcn.00413930
movzx edx, al
test edx, edx
je 0x4c2b51
push 1
lea eax, [ebp - 0xd4]
push eax
push 0xe
call fcn.004c2050
add esp, 4
mov ecx, eax
call fcn.00413950
push str.mntr
push 4
push 0
lea ecx, [ebp - 0xd0]
call fcn.0041ffd0
test eax, eax
jne 0x4c2b75
mov dword [ebp - 0xd8], 1
jmp 0x4c2bbb
push str.bstl
push 4
push 0
lea ecx, [ebp - 0xd0]
call fcn.0041ffd0
test eax, eax
jne 0x4c2b99
mov dword [ebp - 0xd8], 2
jmp 0x4c2bbb
push str.cndt
push 4
push 0
lea ecx, [ebp - 0xd0]
call fcn.0041ffd0
test eax, eax
jne 0x4c2bbb
mov dword [ebp - 0xd8], 3
cmp dword [ebp + 8], 0
je 0x4c2bd0
lea ecx, [ebp - 0xd4]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00415500
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0x120], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.00414a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd4]
call fcn.00414a10
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret
Function at 0x4c4770
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.0044aec0
add esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jmp 0x4c47c9
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 0xc], 0
jne 0x4c481b
mov dword [ebp - 4], 0x104
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4c4819
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4c4819
mov al, 1
jmp 0x4c481d
jmp 0x4c47c0
xor al, al
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret

Function at 0x4c4990
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb1a0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5392a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x599b20]
and eax, 1
jne 0x4c49e5
mov ecx, dword [0x599b20]
or ecx, 1
mov dword [0x599b20], ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x599b1c], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
push edx
mov eax, dword [0x599b1c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4c4a4b
mov ecx, dword [ebp + 8]
push ecx
call fcn.00448da2
add esp, 4
mov edx, dword [ebp - 0x10]
lea eax, [edx + eax*2]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
test edx, edx
je 0x4c4a33
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x4c4a33
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp eax, 0x3d
jne 0x4c4a38
mov eax, dword [ebp - 0x10]
jmp 0x4c4a4d
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 0x10], eax
jmp 0x4c49f8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4c4a60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push str.Install_Babylon
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4c4b02
push str._latest
call fcn.004c4990
add esp, 4
test eax, eax
jne 0x4c4b02
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [ebp - 8]
push edx
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0xc], eax
push 0
push 0x5d
push 0x10
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [ebp - 0xc], 0
je 0x4c4af2
push 0x1388
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4c4af2
push 0x5d
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp - 0xc], 0
je 0x4c4b02
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x4c5660
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef30b
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], 0
lea ecx, [ebp - 0x3d]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x34]
call fcn.004148f0
mov dword [ebp - 4], 1
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x4c57b2
mov dword [ebp - 0x3c], 1
jmp 0x4c56eb
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x10]
jge 0x4c57b2
lea ecx, [ebp - 0x61]
call fcn.0040b800
push eax
push 0x512fcc
lea ecx, [ebp - 0x60]
call fcn.00414c40
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], ecx
cmp dword [ebp - 0x90], 0
je 0x4c5749
mov edx, dword [ebp - 0x90]
add edx, 4
mov dword [ebp - 0x94], edx
jmp 0x4c5753
mov dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.00407a80
add esp, 0xc
mov dword [ebp - 0x98], eax
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00404ea0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.00414bf0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00414a10
jmp 0x4c56e2
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp + 8]
call fcn.00414990
mov eax, dword [ebp - 0x84]
or eax, 1
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00414a10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret
Function at 0x4ca160
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f498e
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x18]
call fcn.00419780
mov dword [ebp - 4], 0
mov eax, 0x595c94
test eax, eax
je 0x4ca1b3
mov ecx, 0x595c94
add ecx, 4
mov dword [ebp - 0xb0], ecx
jmp 0x4ca1bd
mov dword [ebp - 0xb0], 0
push str..bex
mov edx, dword [ebp - 0xb0]
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.00407a80
add esp, 0xc
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xb8]
push edx
lea ecx, [ebp - 0x84]
call fcn.00417720
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x84]
push ecx
call fcn.0048e7d0
add esp, 8
mov byte [ebp - 0x61], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.00414a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.00414bf0
movzx edx, byte [ebp - 0x61]
test edx, edx
je 0x4ca397
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x18]
call fcn.0042f610
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
jmp 0x4ca262
lea ecx, [ebp - 0x1c]
call fcn.0042fbb0
lea edx, [ebp - 0xa8]
push edx
lea ecx, [ebp - 0x18]
call fcn.00426830
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042f670
movzx eax, al
test eax, eax
je 0x4ca397
lea ecx, [ebp - 0x1c]
call fcn.0041d770
push eax
lea ecx, [ebp - 0x40]
call fcn.00414990
mov byte [ebp - 4], 3
push 0xffffffffffffffff
lea ecx, [ebp - 0x3c]
call fcn.00410bd0
sub eax, 4
push eax
lea ecx, [ebp - 0x3c]
call fcn.00414d50
push str..exe
lea ecx, [ebp - 0x3c]
call fcn.00410d00
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0041d770
push eax
call fcn.0048dd80
add esp, 8
movzx edx, al
test edx, edx
je 0x4ca386
call fcn.004af7a0
mov dword [ebp - 0xbc], eax
lea ecx, [ebp - 0x3c]
call fcn.00413e50
push eax
mov eax, dword [ebp - 0xbc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xbc]
mov eax, dword [edx + 0x24]
call eax
test eax, eax
je 0x4ca36d
lea ecx, [ebp - 0xa9]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x60]
call fcn.004148f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.00413e50
push eax
push str.Cannot_verify_bundle_file:__s
lea ecx, [ebp - 0x60]
push ecx
call fcn.00413900
add esp, 0xc
lea ecx, [ebp - 0x5c]
call fcn.00413e50
push eax
push 0xc0b70001
call fcn.00418990
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.00414a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00414a10
jmp 0x4ca25a
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
call fcn.00413e50
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00414a10
jmp 0x4ca25a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00419800
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret
Function at 0x4cb7b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4c1e
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa0], 0
lea ecx, [ebp - 0x95]
call fcn.0040b800
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.00414c40
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xa0]
or ecx, 1
mov dword [ebp - 0xa0], ecx
push 0
lea edx, [ebp - 0x94]
push edx
call fcn.0048ded0
add esp, 8
movzx eax, al
test eax, eax
je 0x4cb846
call fcn.004c7e80
movzx ecx, al
test ecx, ecx
je 0x4cb846
mov dword [ebp - 0xa4], 1
jmp 0x4cb850
mov dword [ebp - 0xa4], 0
mov dl, byte [ebp - 0xa4]
mov byte [ebp - 0x71], dl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa0]
and eax, 1
je 0x4cb87d
and dword [ebp - 0xa0], 0xfffffffe
lea ecx, [ebp - 0x94]
call fcn.00414a10
movzx ecx, byte [ebp - 0x71]
test ecx, ecx
je 0x4cb994
lea ecx, [ebp - 0x96]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x70]
call fcn.004148f0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
push edx
push str.install_XPI:__s
lea eax, [ebp - 0x70]
push eax
call fcn.00413900
add esp, 0xc
lea ecx, [ebp - 0x6c]
call fcn.00413e50
push eax
push 0xc0b70001
call fcn.00418990
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00414a10
lea ecx, [ebp - 0x97]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x30]
call fcn.004148f0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x98]
call fcn.0040b800
push eax
push str._file:___
lea ecx, [ebp - 0x50]
call fcn.00414c40
mov byte [ebp - 4], 3
push 0x512380
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00410cd0
mov ecx, eax
call fcn.00410cd0
lea edx, [ebp - 0x30]
push edx
call fcn.0047b6f0
add esp, 4
push 0x512384
lea ecx, [ebp - 0x2c]
call fcn.00410cd0
push 5
push 0
lea ecx, [ebp - 0x4c]
call fcn.00413e50
push eax
lea ecx, [ebp - 0x2c]
call fcn.00413e50
push eax
push 0x51239c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 0x99], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00414a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00414a10
mov al, byte [ebp - 0x99]
jmp 0x4cb996
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret