joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cc870
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f78c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x536204]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0041ca70
mov edi, eax
add esp, 4
test edi, edi
je 0x4cc914
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004d21b5
add esp, 4
mov dword [edi + 4], eax
jmp 0x4cc916
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.004c7f70
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x4cc977
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x4cc977
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x40], bl
jne 0x4cc99a
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x4cc9bd
cmp byte [ebp + 0xc], 0
je 0x4cc9a9
push esi
call fcn.004d246d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x4cc9c9
mov esi, str.ios_base::badbit_set
jmp 0x4cc9d9
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.004cca00
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.004c8770
push 0x52db90
lea eax, [ebp - 0x30]
push eax
call fcn.0046f642
int3
Function at 0x6dc75efa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x6dc75f09
pop dword [ebp - 0x34]
mov eax, 0x6dc75f09
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x73144b41
add dword [ebp - 0x44], 0xdb3dfa0a
mov dword [ebp - 0x40], 0xafe5960a
sub dword [ebp - 0x40], 0x7db249c5
mov dword [ebp - 0x3c], 0xd66d6f37
add dword [ebp - 0x3c], 0x75ded4f7
mov dword [ebp - 0x38], 0x242760e3
sub dword [ebp - 0x38], 0x242760e3
lea eax, [ebp - 0x44]
push eax
mov eax, 0x4c49d390
add eax, 0x217d9cf8
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xf758bbb4
sub dword [ebp - 0x44], 0x82e6525e
mov dword [ebp - 0x40], 0x124f31e9
sub dword [ebp - 0x40], 0xd0e2d074
mov dword [ebp - 0x3c], 0xb55c7e10
add dword [ebp - 0x3c], 0xae12ee5c
mov dword [ebp - 0x38], 0x1f945b16
add dword [ebp - 0x38], 0xe06ba4ea
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x8ffdedde
sub eax, 0x22367d1e
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3955f
push 0
call eax
mov ecx, 0x162cd401
add ecx, 0xe9d37dfa
mov ebx, eax
mov edi, 0xb361c4d3
sub edi, 0x459988d3
add edi, dword [ebp - 0x34]
mov edx, 0x892f14d1
sub edx, 0xe37903b7
xor dword [ebp - 0x30], 0x2de02c5a
mov esi, dword [edi]
sub esi, edx
sub dword [ebp - 0x2c], ebx
mov dword [ebx], esi
mov dword [ebp - 0x10], 0xf21bb1b4
add ebx, 0xe38abc5f
add ebx, 0x1c7543a5
add edi, 0x606c89f5
add edi, 0x9f93760f
loop 0x6dc76026
add eax, 0x52d3b304
sub eax, 0x52d27845
xor ebx, ebx
add ebx, eax
add eax, 0x1d3a914c
sub eax, 0x1d3a9147
mov ecx, 0x6dc70000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x421140
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x421149
ret
push eax
call fcn.004587d4
add esp, 4
test eax, eax
jne 0x421148
push 0x474b80
push 0x498080
call fcn.00458a04
add esp, 8
push 1
call fcn.0045a7a5
int3

Function at 0x421170
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 8]
test eax, eax
jne 0x42118c
mov eax, dword [esp + 4]
test eax, eax
je 0x421189
push eax
call fcn.004587e6
add esp, 4
xor eax, eax
ret
mov ecx, dword [esp + 4]
test ecx, ecx
push eax
je 0x4211a0
push ecx
call fcn.0045a7e5
add esp, 8
jmp 0x4211a8
call fcn.004587d4
add esp, 4
test eax, eax
jne 0x42118b
push 0x474b80
push 0x498080
call fcn.00458a04
add esp, 8
push 1
call fcn.0045a7a5
int3

Function at 0x4211f0
Capabilities:
Terminate process

Disassembly:
push edi
mov edi, dword [esp + 8]
mov eax, edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421200
sub eax, edx
inc eax
jne 0x421222
xor eax, eax
push esi
mov esi, eax
mov ecx, edi
sub esi, edi
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
test dl, dl
jne 0x421215
pop esi
pop edi
ret
push eax
call fcn.004587d4
add esp, 4
test eax, eax
jne 0x42120e
push 0x474b80
push 0x498080
call fcn.00458a04
add esp, 8
push 1
call fcn.0045a7a5
int3
Function at 0x423670
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 4]
mov ecx, dword [edi + 8]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jl 0x42373d
mov ebp, dword [edi]
lea eax, [esi + esi + 1]
mov dword [edi + 4], eax
shl eax, 3
push eax
mov dword [esp + 0x14], ebp
call fcn.00421140
mov ecx, dword [edi + 4]
mov dword [edi], eax
add esp, 4
xor eax, eax
test ecx, ecx
jle 0x4236c1
mov ecx, dword [edi]
mov dword [ecx + eax*8], 0
mov ecx, dword [edi + 4]
inc eax
cmp eax, ecx
jl 0x4236b0
test esi, esi
jle 0x423734
mov edx, dword [ebp]
test edx, edx
je 0x42372a
xor ecx, ecx
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x4236f8
jmp 0x4236e0
mov ebx, eax
shl ebx, 4
and ecx, 0xff
add ebx, eax
add ecx, ebx
inc edx
mov eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x4236e0
mov ecx, dword [edi + 4]
xor edx, edx
div ecx
mov eax, dword [edi]
cmp dword [eax + edx*8], 0
je 0x42371d
mov ebx, eax
lea esp, [esp]
inc edx
cmp edx, ecx
jne 0x423717
xor edx, edx
cmp dword [ebx + edx*8], 0
jne 0x423710
mov ecx, dword [ebp]
mov dword [eax + edx*8], ecx
mov ecx, dword [ebp + 4]
mov dword [eax + edx*8 + 4], ecx
add ebp, 8
dec esi
jne 0x4236c5
mov ebp, dword [esp + 0x10]
push ebp
call fcn.004211d0
add esp, 4
mov esi, dword [esp + 0x18]
xor ecx, ecx
mov cl, byte [esi]
xor eax, eax
test cl, cl
mov edx, esi
je 0x423768
lea ecx, [ecx]
mov ebx, eax
shl ebx, 4
and ecx, 0xff
add ebx, eax
add ecx, ebx
inc edx
mov eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x423750
mov ecx, dword [edi + 4]
xor edx, edx
div ecx
mov ebp, edx
mov edx, dword [edi]
cmp dword [edx + ebp*8], 0
je 0x4237cc
jmp 0x423780
mov esi, dword [esp + 0x18]
nop
mov eax, dword [edx + ebp*8]
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x4237a7
test cl, cl
je 0x4237a3
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x4237a7
add eax, 2
add esi, 2
test cl, cl
jne 0x423783
xor eax, eax
jmp 0x4237ac
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4237c2
mov eax, dword [edi + 4]
inc ebp
cmp ebp, eax
jne 0x4237ba
xor ebp, ebp
mov eax, dword [edi]
cmp dword [eax + ebp*8], 0
jne 0x42377b
cmp dword [edx + ebp*8], 0
mov esi, dword [esp + 0x18]
jne 0x4237da
push esi
call fcn.004211f0
mov ecx, dword [edi]
add esp, 4
mov dword [ecx + ebp*8], eax
mov edx, dword [edi]
mov eax, dword [esp + 0x1c]
mov dword [edx + ebp*8 + 4], eax
inc dword [edi + 8]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x446a40
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x114
mov edx, dword [esp + 0x118]
push ebp
push esi
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
push edx
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x446b4a
lea ecx, [esp + 8]
call fcn.00446950
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
jne 0x446b4e
push edi
lea ecx, [esp + 0x18]
push ecx
push esi
push esi
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x34]
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x446b04
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x10]
call fcn.00446a40
mov edi, eax
test edi, edi
jne 0x446b66
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push edi
push edi
push edi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push edi
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x446ac6
mov eax, dword [esp + 0xc]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x446b1d
push eax
call edi
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x124]
mov edx, dword [ebp]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x446b3c
push eax
call edi
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x114
ret 4
mov eax, dword [esp + 8]
test eax, eax
je 0x446b59
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
add esp, 0x114
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x446b75
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x114
ret 4
Function at 0x447020
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ebp, ecx
xor edi, edi
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x447032
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
push edi
push eax
push 7
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x453510
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x4998b4]
push eax
push 0x47aa28
push 0x498080
call fcn.00458a04
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 0x498080
call fcn.0045ae5b
push 0x498080
push 0xa
call fcn.00458a62
add esp, 0x20
push 1
call fcn.0045a7a5
int3

Function at 0x4537f0
Capabilities:
Terminate process

Disassembly:
dec eax
push ebp
mov ebp, dword [esp + 8]
push edi
mov edi, ecx
je 0x453845
sub eax, 2
je 0x45380f
pop edi
pop ebp
mov dword [esp + 4], 0x47ac20
jmp fcn.00453510
test edi, edi
jbe 0x453860
lea ecx, [ebp + 2]
lea eax, [edx + 8]
lea esp, [esp]
mov edx, dword [eax - 8]
mov dl, byte [esi + edx]
mov byte [ecx - 2], dl
mov edx, dword [eax - 4]
mov dl, byte [esi + edx]
mov byte [ecx - 1], dl
mov edx, dword [eax]
mov dl, byte [esi + edx]
mov byte [ecx], dl
add eax, 0xc
add ecx, 3
dec edi
jne 0x453820
pop edi
pop ebp
ret
xor eax, eax
test edi, edi
jbe 0x453860
lea ecx, [edx + 8]
mov edi, edi
mov edx, dword [ecx]
mov dl, byte [esi + edx]
mov byte [eax + ebp], dl
inc eax
add ecx, 0xc
cmp eax, edi
jb 0x453850
pop edi
pop ebp
ret

Function at 0x454bf0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [edi + 0x14]
inc eax
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x454c76
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x454c6f
cmp dword [edi + 0x18], 0x10
jb 0x454c22
mov ecx, dword [edi + 4]
jmp 0x454c25
lea ecx, [edi + 4]
mov edx, eax
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x454c27
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x454c59
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x47b00c
push 1
call fcn.004549c0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
ret

Function at 0x4559e0
Capabilities:
Create thread

Disassembly:
sub esp, 0x34
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x455a1c
push 0xa
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x455a1c
push 0x5c
push 0x47b238
lea ecx, [esp + 0x10]
call fcn.00454840
push 0x480dd4
lea eax, [esp + 0xc]
push eax
call fcn.0045867d
mov ecx, esi
call fcn.00455960
mov eax, dword [esi + 0xc]
test eax, eax
je 0x455a49
push 0x64
push 0x47b238
lea ecx, [esp + 0x10]
call fcn.00454840
push 0x480dd4
lea ecx, [esp + 0xc]
push ecx
call fcn.0045867d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
test eax, eax
mov dword [esi + 0xc], eax
jne 0x455a76
push 0x69
push 0x47b238
lea ecx, [esp + 0x10]
call fcn.00454840
push 0x480dd4
lea eax, [esp + 0xc]
push eax
call fcn.0045867d
lea ecx, [esp + 4]
push ecx
push 0
push eax
push 0x455900
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
pop esi
add esp, 0x34
ret
Function at 0x455b10
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
mov dword [esi], 0x47b230
je 0x455b38
push 0xa
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x455b38
mov ecx, esi
pop esi
jmp fcn.00455aa0
mov ecx, esi
pop esi
jmp fcn.00455960

Function at 0x455c40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x38
mov edx, dword [esp + 0x3c]
lea eax, [esp + 4]
push eax
push edx
mov edx, dword [esp + 0x48]
lea eax, [esp + 8]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x455cc1
cmp dword [esp], 4
je 0x455c9b
push 0x67
push 0x47b248
lea ecx, [esp + 0x10]
call fcn.00454840
push 0x480dd4
lea ecx, [esp + 0xc]
push ecx
call fcn.0045867d
cmp dword [esp + 4], 4
je 0x455cc1
push 0x68
push 0x47b248
lea ecx, [esp + 0x10]
call fcn.00454840
push 0x480dd4
lea edx, [esp + 0xc]
push edx
call fcn.0045867d
add esp, 0x38
ret 8

Function at 0x455cd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x30
test eax, eax
jne 0x455cfa
push 0x6f
push 0x47b248
lea ecx, [esp + 8]
call fcn.00454840
push 0x480dd4
lea eax, [esp + 4]
push eax
call fcn.0045867d
mov edx, dword [esp + 0x34]
push eax
push edx
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x44]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
mov dword [esp + 0x54], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x455d53
mov ecx, dword [esp + 0x3c]
cmp ecx, 1
je 0x455d53
cmp ecx, 7
je 0x455d53
cmp ecx, 2
je 0x455d53
push 0x75
push 0x47b248
lea ecx, [esp + 8]
call fcn.00454840
push 0x480dd4
lea ecx, [esp + 4]
push ecx
call fcn.0045867d
add esp, 0x30
ret 0xc

Function at 0x455d60
Capabilities:
Set registry value

Disassembly:
mov eax, dword [ecx]
sub esp, 0x30
test eax, eax
jne 0x455d88
push 0x7b
push 0x47b248
lea ecx, [esp + 8]
call fcn.00454840
push 0x480dd4
lea eax, [esp + 4]
push eax
call fcn.0045867d
mov edx, dword [esp + 0x38]
push 4
lea ecx, [esp + 0x38]
push ecx
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add esp, 0x30
ret 8

Function at 0x455db0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x30
push esi
push edi
mov edi, dword [esp + 0x3c]
test edi, edi
mov esi, ecx
jne 0x455de1
push 0x82
push 0x47b248
lea ecx, [esp + 0x10]
call fcn.00454840
push 0x480dd4
lea eax, [esp + 0xc]
push eax
call fcn.0045867d
cmp dword [esi], 0
jne 0x455e08
push 0x83
push 0x47b248
lea ecx, [esp + 0x10]
call fcn.00454840
push 0x480dd4
lea ecx, [esp + 0xc]
push ecx
call fcn.0045867d
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x40]
inc eax
push eax
mov eax, dword [esi]
push edi
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
add esp, 0x30
ret 8
Function at 0x457690
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46af09
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push esi
mov esi, ecx
mov dword [esi], 0x47b488
xor eax, eax
mov dword [esi + 0x16c], 0xf
mov dword [esi + 0x168], eax
push edi
mov dword [esp + 0xc], esi
mov byte [esi + 0x158], al
lea ebx, [esi + 0x50]
mov dword [esp + 0xa4], eax
mov byte [ebx], al
mov eax, dword [esp + 0xb4]
push eax
lea ecx, [esp + 0x30]
call fcn.004555e0
xor eax, eax
lea edi, [esi + 4]
mov ecx, 0x13
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x7c]
mov edi, 0x10
cmp eax, edi
mov eax, dword [esp + 0x68]
mov byte [esp + 0xa4], 1
jae 0x457718
lea eax, [esp + 0x68]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
push ebx
call ebp
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x34]
call fcn.00436a60
cmp dword [eax + 0x18], edi
jb 0x45773b
mov eax, dword [eax + 4]
jmp 0x45773e
add eax, 4
push eax
lea edi, [esi + 0x170]
push edi
call ebp
cmp dword [esp + 0x2c], 0x10
pop ebp
jb 0x45775d
mov edx, dword [esp + 0x14]
push edx
call fcn.004588cd
add esp, 4
mov eax, dword [esp + 0xac]
mov dword [esi + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [esi + 4], 0x4c
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 0x104
mov dword [esi + 0x30], edi
mov edx, dword [eax + 4]
lea ecx, [esp + 0x2c]
mov dword [esi + 0x34], edx
call fcn.00436810
mov ecx, dword [esp + 0x9c]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x9c
ret 0xc

Function at 0x4578d0
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
push esi
push edi
push 0x47b4b8
call fcn.00454ac0
mov esi, eax
push esi
push 0x47b4a0
push 1
call fcn.004549c0
add esp, 0x10
cmp esi, 0x50050
jae 0x45793f
mov esi, dword [0x497f94]
sub esp, 0x1c
mov ecx, esp
mov eax, esi
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
mov dword [esp + 0x24], esp
mov byte [ecx + 4], 0
lea edi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x457920
sub eax, edi
push eax
push esi
call fcn.00404600
call fcn.004564c0
add esp, 0x1c
push 0xffffffffffffffff
call fcn.0045a7a5
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 0x404
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
jne 0x457982
mov edx, dword [0x497f8c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00404900
call fcn.004564c0
add esp, 0x1c
push 0xffffffffffffffff
call fcn.0045a7a5
pop edi
pop esi
add esp, 0xc
ret
Function at 0x45a6e2
Capabilities:
Terminate process

Disassembly:
push 8
push 0x47b710
call fcn.0045d170
push 8
call fcn.0045d13e
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x499934], esi
jne 0x45a716
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x499930], esi
mov al, byte [ebp + 0x10]
mov byte [0x49992c], al
cmp dword [ebp + 0xc], edi
jne 0x45a760
cmp dword [0x49a410], edi
je 0x45a750
mov eax, dword [0x49a40c]
sub eax, 4
mov dword [0x49a40c], eax
cmp eax, dword [0x49a410]
jb 0x45a750
mov eax, dword [eax]
cmp eax, edi
je 0x45a731
call eax
jmp 0x45a731
push 0x486060
mov eax, 0x486054
call fcn.0045a660
pop ecx
push 0x48606c
mov eax, 0x486064
call fcn.0045a660
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x45a791
cmp dword [ebp + 0x10], edi
jne 0x45a79f
mov dword [0x499934], esi
push dword [ebp + 8]
call fcn.0045a61e
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x45a79e
push 8
call fcn.0045d089
pop ecx
ret
call fcn.0045d1ab
ret

Function at 0x45ad78
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00459510
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x45ae13
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x4998f4]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x45ae13
cmp eax, 1
je 0x45ae34
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x45ae13
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x45ade0
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x45ae0f
xor eax, eax
inc eax
jmp 0x45ae53
cmp edi, eax
jae 0x45ae17
xor eax, eax
jmp 0x45ae53
cmp eax, esi
jae 0x45ae1e
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x4998f4]
jmp 0x45ae37
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45b1ac
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x47b760
call fcn.0045d170
mov edi, 0x94
mov eax, edi
call fcn.00459510
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x4998f4], ecx
mov eax, dword [esi + 4]
mov dword [0x499900], eax
mov edx, dword [esi + 8]
mov dword [0x499904], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x4998f8], esi
cmp ecx, 2
je 0x45b20c
or esi, 0x8000
mov dword [0x4998f8], esi
shl eax, 8
add eax, edx
mov dword [0x4998fc], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x45b247
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45b247
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x45b25f
cmp eax, 0x20b
je 0x45b24c
mov dword [ebp - 0x1c], esi
jmp 0x45b273
cmp dword [ecx + 0x84], 0xe
jbe 0x45b247
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x45b26d
cmp dword [ecx + 0x74], 0xe
jbe 0x45b247
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0045d2d0
pop ecx
test eax, eax
jne 0x45b287
push 0x1c
call fcn.0045b188
pop ecx
call fcn.0045bf5b
test eax, eax
jne 0x45b298
push 0x10
call fcn.0045b188
pop ecx
call fcn.00463d9d
mov dword [ebp - 4], esi
call fcn.004632e8
test eax, eax
jge 0x45b2b1
push 0x1b
call fcn.0045b163
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x49a404], eax
call fcn.004647da
mov dword [0x4999e0], eax
call fcn.00464738
test eax, eax
jge 0x45b2d7
push 8
call fcn.0045b163
pop ecx
call fcn.00464505
test eax, eax
jge 0x45b2e8
push 9
call fcn.0045b163
pop ecx
push 1
call fcn.0045a678
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x45b2fe
push eax
call fcn.0045b163
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004644a8
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x45b31f
movzx eax, word [ebp - 0x40]
jmp 0x45b322
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00449080
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x45b340
push edi
call fcn.0045a7a5
call fcn.0045a7c7
jmp 0x45b372
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0045d1ab
ret