joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4615db
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46161d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403c8c
mov eax, dword [ebp - 0x10]
call fcn.0046121c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x461506
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.004040bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004618f0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4615db
xor eax, eax
push ebp
push 0x4615d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0046138c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0046164c
test al, al
je 0x4615b2
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403cdc
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4615b2
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404038
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x4615ac
mov eax, dword [ebp - 0x14]
call fcn.00404038
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403dac
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.004614b4
dec ebx
cmp ebx, 0xffffffff
jne 0x461565
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4615db
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0046138c
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404038
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00461378
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461624
lea eax, [ebp - 0x3c]
call fcn.00403bf4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403c18
ret

Function at 0x46164c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402c68
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x4e13f8]
cmp byte [edx + 8], 0
je 0x4616b0
mov edx, dword [0x4e13f4]
cmp dword [edx], 2
jne 0x4616b0
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x461814
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00461230
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404038
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x461872
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4e11ec]
mov dl, 1
mov eax, dword [0x461128]
call fcn.0040c278
call fcn.004036c4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46187c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404038
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4618d4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4e1404]
mov dl, 1
mov eax, dword [0x461128]
call fcn.0040c278
call fcn.004036c4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00461260
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x464ed0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x94], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x465052
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x90]
mov eax, esi
call fcn.00464b24
mov eax, ebx
call fcn.004189f0
dec al
je 0x464f14
dec al
je 0x464f1a
jmp 0x464f20
mov byte [ebp - 0x77], 2
jmp 0x464f24
mov byte [ebp - 0x77], 1
jmp 0x464f24
mov byte [ebp - 0x77], 0
mov eax, dword [ebp - 0x8c]
or eax, 0x80000000
or eax, 1
or eax, 2
or eax, 4
or eax, 8
or eax, 0x20000000
or eax, 0x40000000
mov dword [ebp - 0x8c], eax
mov eax, ebx
call fcn.0041897c
shl eax, 2
lea eax, [eax + eax*4]
mov dword [ebp - 0x84], eax
mov eax, ebx
call fcn.004189b8
test al, 1
je 0x464f70
or dword [ebp - 0x88], 1
mov eax, ebx
call fcn.004189b8
test al, 2
je 0x464f82
or dword [ebp - 0x88], 2
mov eax, ebx
call fcn.004189b8
test al, 4
je 0x464f94
or dword [ebp - 0x88], 4
mov eax, ebx
call fcn.004189b8
test al, 8
je 0x464fa6
or dword [ebp - 0x88], 8
lea edx, [ebp - 0x94]
mov eax, ebx
call fcn.00418908
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x76]
mov ecx, 0x20
call fcn.00409858
mov edi, dword [ebx + 0x18]
cmp edi, 0x80000008
je 0x464fd9
cmp edi, 0x20000000
jne 0x464fe5
mov dword [ebp - 0x88], 0x40000000
jmp 0x464fef
mov eax, edi
call fcn.00418238
mov dword [ebp - 0x7c], eax
or dword [ebp - 0x8c], 0x8000000
mov eax, ebx
call fcn.00418a20
mov byte [ebp - 0x78], al
lea eax, [ebp - 0x3c]
push eax
push 0x3c
mov eax, ebx
call fcn.0041870c
push eax
call sub.gdi32.dll_GetObjectA
test eax, eax
je 0x46502c
or dword [ebp - 0x8c], 0x400000
mov ax, word [ebp - 0x2c]
mov word [ebp - 0x56], ax
lea edx, [ebp - 0x90]
mov eax, esi
call fcn.00464b90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465059
lea eax, [ebp - 0x94]
call fcn.00403bf4
ret
Function at 0x47824c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x47827a
mov eax, ebx
call fcn.00478cf0
cmp dword [ebx + 0x3c], 0
je 0x478273
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4782eb
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x4782dd
cmp dword [ebx + 8], 0
je 0x47829c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x4782ae
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4782dd
cmp dword [ebx + 8], 0
je 0x47828f
cmp eax, 3
je 0x4782c1
dec eax
jne 0x47828f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x47828f
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x47828f
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x478309
cmp dword [ebx + 0x10], 0xcc
je 0x478309
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00478314
pop ebx
ret

Function at 0x488e14
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404038
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x488e2d
test al, 0x10
jne 0x488e31
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x48b4f0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, dword [0x4e29e0]
call fcn.00437f60
push eax
call sub.user32.dll_ShowWindow
push 5
mov eax, dword [0x4e1388]
mov eax, dword [eax]
call fcn.00437f60
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4e1388]
mov eax, dword [eax]
call fcn.00437f60
push eax
call sub.user32.dll_SetForegroundWindow
mov edx, 1
mov eax, ebx
call fcn.004316a4
mov edx, 1
mov eax, ebx
call fcn.004316c4
mov dword [ebx + 0x318], 1
pop ebx
ret

Function at 0x48c160
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x2e0], 1
jne 0x48c1e7
cmp dword [ebx + 0x2e4], 0
jne 0x48c1ca
mov eax, dword [0x4e1388]
mov eax, dword [eax]
call fcn.0044d228
push 5
mov eax, dword [0x4e1388]
mov eax, dword [eax]
call fcn.00437f60
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4e1030]
mov eax, dword [eax]
cmp dword [eax + 0x318], 0
jne 0x48c1e0
push 5
mov eax, dword [0x4e1030]
mov eax, dword [eax]
call fcn.00437f60
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4e1030]
mov eax, dword [eax]
xor edx, edx
mov dword [eax + 0x318], edx
jmp 0x48c1e0
mov eax, dword [0x4e1100]
cmp dword [eax], 0
je 0x48c1e0
mov eax, dword [0x4e1100]
mov eax, dword [eax]
call fcn.0044d228
mov eax, ebx
call fcn.0044d070
pop ebx
ret
Function at 0x4a384c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404028
xor eax, eax
push ebp
push 0x4a38d7
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], 3
lea eax, [ebp - 0x28]
mov ecx, 0x4a38ec
mov edx, dword [ebp - 4]
call fcn.00403ec0
mov eax, dword [ebp - 0x28]
call fcn.00404038
mov dword [ebp - 0x1a], eax
mov eax, 0x4a38f0
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], 0x414
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a38de
lea eax, [ebp - 0x28]
call fcn.00403bf4
lea eax, [ebp - 4]
call fcn.00403bf4
ret
Function at 0x4b89c8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4b8b02
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x63c]
mov eax, dword [eax + 0x254]
call fcn.0045d4b4
test eax, eax
jle 0x4b8ae7
mov eax, dword [ebx + 0x63c]
call fcn.0045f054
call fcn.0045cd0c
mov esi, dword [ebx + 0x50274]
mov edx, esi
dec edx
cmp eax, edx
jle 0x4b8aca
cmp esi, 0x64
jge 0x4b8aca
mov dl, 1
mov eax, dword [ebx + 0x6ec]
call fcn.00453328
mov byte [ebx + 0xabdc], 8
push 9
lea edx, [ebp - 8]
mov eax, dword [0x4e1268]
mov eax, dword [eax]
call fcn.00450824
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.004095d8
mov eax, dword [ebp - 4]
call fcn.00404038
push eax
mov eax, dword [0x4e43bc]
push dword [eax + 0x50244]
push 0x4b8b18
push 0x4b8b30
push 0x4b8b40
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00403f34
mov eax, dword [ebp - 0xc]
call fcn.00404038
push eax
lea edx, [ebp - 0x14]
mov eax, dword [0x4e1268]
mov eax, dword [eax]
call fcn.00450824
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0040960c
mov eax, dword [ebp - 0x10]
call fcn.00404038
push eax
push 0x4b8b4c
mov eax, dword [0x4e1268]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4b8ae7
xor edx, edx
mov eax, dword [ebx + 0x63c]
call fcn.0045eddc
mov eax, dword [ebx + 0x63c]
call fcn.0045f054
call fcn.0045d138
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8b09
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00403c18
ret
Function at 0x4b8b54
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b8cb3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x63c]
mov eax, dword [eax + 0x254]
call fcn.0045d4b4
test eax, eax
jle 0x4b8c98
mov eax, dword [ebx + 0x63c]
call fcn.0045f054
call fcn.0045cd0c
mov edx, dword [ebx + 0x50274]
dec edx
cmp eax, edx
jle 0x4b8c57
cmp byte [ebx + 0x50270], 0xb
jne 0x4b8c57
mov dl, 1
mov eax, dword [ebx + 0x6ec]
call fcn.00453328
mov byte [ebx + 0xabdc], 8
push 9
lea edx, [ebp - 8]
mov eax, dword [0x4e1268]
mov eax, dword [eax]
call fcn.00450824
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.004095d8
mov eax, dword [ebp - 4]
call fcn.00404038
push eax
mov eax, dword [0x4e43bc]
push dword [eax + 0x50244]
push 0x4b8cc8
push 0x4b8ce0
push 0x4b8cf0
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00403f34
mov eax, dword [ebp - 0xc]
call fcn.00404038
push eax
lea edx, [ebp - 0x14]
mov eax, dword [0x4e1268]
mov eax, dword [eax]
call fcn.00450824
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0040960c
mov eax, dword [ebp - 0x10]
call fcn.00404038
push eax
push 0x4b8cfc
mov eax, dword [0x4e1268]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4b8c98
push 1
mov ecx, 0x4b8d04
mov edx, 0x4b8d0c
mov eax, dword [0x4e1268]
mov eax, dword [eax]
call fcn.004504b4
dec eax
jne 0x4b8c98
mov eax, dword [ebx + 0x63c]
call fcn.0045f054
call fcn.0045cd0c
mov edx, eax
mov eax, ebx
call fcn.004b8d28
mov edx, dword [ebx + 0xb650]
mov eax, ebx
call fcn.004b1ba8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8cba
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00403c18
ret
Function at 0x4bf424
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4bf6a8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x980], 1
jne 0x4bf466
push 0
mov ecx, 0x4bf6b8
mov edx, 0x4bf6c0
mov eax, dword [0x4e1268]
mov eax, dword [eax]
call fcn.004504b4
jmp 0x4bf67d
mov eax, dword [ebx + 0x63c]
mov eax, dword [eax + 0x254]
call fcn.0045d4b4
test eax, eax
jne 0x4bf498
push 0
mov ecx, 0x4bf6b8
mov edx, 0x4bf6e0
mov eax, dword [0x4e1268]
mov eax, dword [eax]
call fcn.004504b4
jmp 0x4bf67d
mov eax, dword [ebx + 0x7f4]
cmp byte [eax + 0x47], 0
jne 0x4bf4c2
mov eax, dword [ebx + 0xb650]
mov edx, eax
shl eax, 3
sub eax, edx
cmp byte [ebx + eax*8 + 0xb812], 0
jbe 0x4bf4c2
mov byte [ebx + 0xa5ec], 0
mov eax, dword [ebx + 0x63c]
call fcn.0045f054
call fcn.0045cd0c
mov edx, eax
shl eax, 3
sub eax, edx
cmp byte [ebx + eax*8 + 0xb812], 5
je 0x4bf504
mov eax, dword [ebx + 0x63c]
call fcn.0045f054
call fcn.0045cd0c
mov edx, eax
shl eax, 3
sub eax, edx
cmp byte [ebx + eax*8 + 0xb812], 6
jne 0x4bf50b
mov byte [ebx + 0xa5ec], 0
cmp byte [ebx + 0xa5ec], 1
jne 0x4bf542
mov eax, dword [ebx + 0x63c]
mov eax, dword [eax + 0x254]
call fcn.0045d4b4
test eax, eax
jle 0x4bf542
mov eax, dword [ebx + 0x63c]
call fcn.0045f054
call fcn.0045cd0c
mov edx, eax
mov eax, ebx
call fcn.004b80e0
cmp byte [ebx + 0x5024c], 0
jne 0x4bf5e3
mov eax, dword [ebx + 0x63c]
mov eax, dword [eax + 0x254]
call fcn.0045d4b4
test eax, eax
jle 0x4bf5cb
mov eax, dword [ebx + 0x2d4]
add eax, 0x68
mov edx, 0x4bf704
call fcn.00403c48
mov eax, dword [ebx + 0x2d4]
add eax, 0x70
call fcn.00403bf4
mov esi, dword [ebx + 0x2d4]
mov eax, dword [0x4bf710]
mov dword [esi + 0x54], eax
lea eax, [esi + 0x58]
mov edx, 0x4bf71c
call fcn.00403c48
mov eax, dword [ebx + 0x2d4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
je 0x4bf5e3
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x2d4]
call fcn.004560c8
mov edx, dword [ebp - 8]
xor ecx, ecx
mov eax, ebx
call fcn.004bd6ec
jmp 0x4bf5e3
push 0
mov ecx, 0x4bf6b8
mov edx, 0x4bf738
mov eax, dword [0x4e1268]
mov eax, dword [eax]
call fcn.004504b4
cmp byte [ebx + 0x5024c], 2
jne 0x4bf66a
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 0x4fe7c]
call fcn.0040909c
mov eax, dword [ebp - 0x10]
call fcn.00403e74
sub eax, 4
push eax
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x4fe7c]
call fcn.0040909c
mov eax, dword [ebp - 0x14]
mov edx, 1
pop ecx
call fcn.0040407c
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov ecx, 0x4bf750
call fcn.00403ec0
cmp byte [ebx + 0x50eb8], 1
jne 0x4bf65b
push 0
mov eax, dword [ebp - 4]
call fcn.00404038
push eax
mov eax, dword [ebx + 0x4fe7c]
call fcn.00404038
push eax
call sub.kernel32.dll_CopyFileA
xor ecx, ecx
mov edx, dword [ebx + 0x4fe7c]
mov eax, ebx
call fcn.004bd6ec
mov eax, dword [ebx + 0x7f4]
cmp byte [eax + 0x47], 1
jne 0x4bf67d
mov byte [ebx + 0x5027c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf6af
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403c18
lea eax, [ebp - 8]
call fcn.00403bf4
lea eax, [ebp - 4]
call fcn.00403bf4
ret
Function at 0x4c5084
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4c508c
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c522c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x50280], 0
je 0x4c50be
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x50280]
call fcn.0040909c
jmp 0x4c5115
call fcn.0042cee8
lea edx, [ebp - 0x10]
call fcn.0042cb08
mov eax, dword [ebx + 0x7f4]
call fcn.00428b2c
call fcn.0042cee8
lea edx, [ebp - 0x14]
call fcn.0042cb08
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 4]
call fcn.0040909c
call fcn.0042cee8
mov edx, dword [ebp - 0x10]
call fcn.0042cb88
mov eax, dword [ebx + 0x7f4]
mov edx, dword [eax]
call dword [edx + 0xb8]
test eax, eax
jne 0x4c5115
lea eax, [ebp - 4]
call fcn.00403bf4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0040909c
cmp dword [ebp - 0x18], 0
jne 0x4c5133
lea eax, [ebp - 4]
mov edx, 0x4c5240
call fcn.00403c8c
lea eax, [ebp - 8]
push eax
mov ecx, 7
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040407c
lea eax, [ebp - 0xc]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040407c
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.00408f00
mov eax, dword [ebp - 0x1c]
mov edx, 0x4c5260
call fcn.00403f84
jne 0x4c519c
push 3
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404038
push eax
push 0
mov eax, dword [0x4e43bc]
call fcn.00437f60
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4c5206
mov eax, dword [ebx + 0x3e4]
cmp byte [eax + 0x2c], 0
jne 0x4c51fc
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.00408f00
mov eax, dword [ebp - 0x20]
mov edx, 0x4c5270
call fcn.00403f84
je 0x4c51dc
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00408f00
mov eax, dword [ebp - 0x24]
mov edx, 0x4c5280
call fcn.00403f84
jne 0x4c51fc
push 3
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404038
push eax
push 0
mov eax, ebx
call fcn.00437f60
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4c5206
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004c53ac
lea eax, [ebx + 0x50280]
call fcn.00403bf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5233
lea eax, [ebp - 0x24]
mov edx, 9
call fcn.00403c18
ret
Function at 0x4c53ac
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404028
xor eax, eax
push ebp
push 0x4c551e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004c5288
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0040960c
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004095d8
cmp dword [ebp - 0xc], 0
je 0x4c54b9
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00408f00
mov edx, dword [ebp - 0x14]
mov eax, 0x4c5534
call fcn.00404160
test eax, eax
jg 0x4c5437
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00408f00
mov edx, dword [ebp - 0x18]
mov eax, 0x4c5544
call fcn.00404160
test eax, eax
jle 0x4c546b
push 3
mov eax, dword [ebp - 0x10]
call fcn.00404038
push eax
mov eax, dword [ebp - 4]
call fcn.00404038
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404038
push eax
push 0x4c554c
mov eax, ebx
call fcn.00437f60
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4c5503
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004c8d04
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
mov edx, 0x4c555c
call fcn.00403ec0
push 3
mov eax, dword [ebp - 0x10]
call fcn.00404038
push eax
mov eax, dword [ebp - 4]
call fcn.00404038
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404038
push eax
push 0x4c554c
mov eax, ebx
call fcn.00437f60
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4c5503
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00408f00
mov edx, dword [ebp - 0x20]
mov eax, 0x4c5534
call fcn.00404160
test eax, eax
jne 0x4c54e5
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x4c5534
call fcn.00403ec0
push 3
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404038
push eax
push 0
mov eax, ebx
call fcn.00437f60
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5525
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.00403c18
ret
Function at 0x4c9314
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404028
xor eax, eax
push ebp
push 0x4c9519
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
shl eax, 8
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 1]
add eax, edx
cmp eax, 0xc2e8
jge 0x4c9403
cmp eax, 0xb7a2
jge 0x4c93a6
cmp eax, 0xb2c1
jge 0x4c937b
add eax, 0xffff4f5f
sub eax, 0x24
jb 0x4c94a5
sub eax, 0x1fc
jb 0x4c94a9
jmp 0x4c9501
add eax, 0xffff4d3f
sub eax, 0x22d
jb 0x4c94ad
sub eax, 0x1fc
jb 0x4c94b1
sub eax, 0xb8
jb 0x4c94b5
jmp 0x4c9501
cmp eax, 0xbbf7
jge 0x4c93d8
add eax, 0xffff485e
sub eax, 0x11f
jb 0x4c94b9
sub eax, 0x13d
jb 0x4c94bd
sub eax, 0x1f9
jb 0x4c94c1
jmp 0x4c9501
add eax, 0xffff4409
sub eax, 0x3af
jb 0x4c94c5
sub eax, 0x106
jb 0x4c94c9
sub eax, 0x23c
jb 0x4c94cd
jmp 0x4c9501
cmp eax, 0xc8f6
jge 0x4c9463
cmp eax, 0xc5be
jge 0x4c943a
add eax, 0xffff3d18
sub eax, 0x1db
jb 0x4c94d1
sub eax, 0xf3
jb 0x4c94d5
sub eax, 8
jb 0x4c94d9
jmp 0x4c9501
add eax, 0xffff3a42
sub eax, 0x11c
jb 0x4c94dd
sub eax, 0x1e1
jb 0x4c94e1
sub eax, 0x3b
jb 0x4c94e5
jmp 0x4c9501
cmp eax, 0xcef4
jge 0x4c9486
add eax, 0xffff370a
sub eax, 0x304
jb 0x4c94e9
sub eax, 0x1e0
jb 0x4c94ed
sub eax, 0x11a
jb 0x4c94f1
jmp 0x4c9501
add eax, 0xffff310c
sub eax, 0x295
jb 0x4c94f5
add eax, 0xffffffd0
sub eax, 0x318
jb 0x4c94f9
sub eax, 0x329
jb 0x4c94fd
jmp 0x4c9501
mov bl, 0x41
jmp 0x4c9503
mov bl, 0x42
jmp 0x4c9503
mov bl, 0x43
jmp 0x4c9503
mov bl, 0x44
jmp 0x4c9503
mov bl, 0x45
jmp 0x4c9503
mov bl, 0x46
jmp 0x4c9503
mov bl, 0x47
jmp 0x4c9503
mov bl, 0x48
jmp 0x4c9503
mov bl, 0x4a
jmp 0x4c9503
mov bl, 0x4b
jmp 0x4c9503
mov bl, 0x4c
jmp 0x4c9503
mov bl, 0x4d
jmp 0x4c9503
mov bl, 0x4e
jmp 0x4c9503
mov bl, 0x4f
jmp 0x4c9503
mov bl, 0x50
jmp 0x4c9503
mov bl, 0x51
jmp 0x4c9503
mov bl, 0x52
jmp 0x4c9503
mov bl, 0x53
jmp 0x4c9503
mov bl, 0x54
jmp 0x4c9503
mov bl, 0x57
jmp 0x4c9503
mov bl, 0x58
jmp 0x4c9503
mov bl, 0x59
jmp 0x4c9503
mov bl, 0x5a
jmp 0x4c9503
mov bl, 0x20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9520
lea eax, [ebp - 4]
call fcn.00403bf4
ret