joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ed7f
Capabilities:
Send data
Send data on socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x840
push esi
push edi
mov esi, ecx
push 0x405e38
lea ecx, [ebp - 4]
call fcn.0044efe3
cmp dword [esi + 0xa0], 3
jne 0x41ee0d
mov edi, dword [0x458858]
test edi, edi
je 0x41ef28
push 5
push 3
mov ecx, edi
call fcn.00414777
test al, al
je 0x41ef28
mov esi, dword [esi + 0x80]
and dword [ebp - 0x40], 0
push 0x405e14
push dword [0x405ae4]
lea ecx, [ebp - 0x840]
push esi
push 0x405cd0
push 5
mov dword [ebp - 0x3c], edi
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0x10
push eax
call fcn.0044ed72
pop ecx
pop ecx
mov ecx, eax
call fcn.0044ef88
jmp 0x41ef28
mov eax, dword [0x458858]
cmp dword [eax], 3
jl 0x41ee1f
mov ecx, dword [esi + 0x24]
call fcn.0042c926
push 0x30
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.0043d340
mov al, byte [ebp - 0x38]
or byte [ebp - 0x37], 0x80
or dword [ebp - 0x28], 0xffffffff
and al, 0xe0
or al, 0x20
mov byte [ebp - 0x38], al
mov eax, dword [esi + 0x24]
add esp, 0xc
add eax, 0x68
push eax
lea ecx, [ebp - 8]
call fcn.0044fc21
mov eax, dword [esi + 0x24]
add dword [eax + 0x1c], 2
mov eax, dword [eax + 0x1c]
push dword [esi + 0x10]
mov edi, dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x24], eax
call edi
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x24]
push dword [eax + 0xb8]
call edi
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x24]
push dword [eax + 0xbc]
call edi
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], eax
call fcn.004148b4
mov edi, dword [0x458858]
test edi, edi
je 0x41ef17
push 5
push 2
mov ecx, edi
call fcn.00414777
test al, al
je 0x41ef17
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0xc0]
and dword [ebp - 0x40], 0
push ebx
mov ebx, dword [esi + 0x80]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x3c], edi
mov edi, dword [sym.imp.WS2_32.dll_ntohl]
call edi
push eax
push dword [ebp - 0x1c]
call edi
push eax
push dword [ebp - 0x20]
call edi
push eax
mov eax, dword [esi + 0xa0]
push 0x405dd4
push dword [eax*4 + 0x405ad8]
lea ecx, [ebp - 0x840]
push ebx
push 0x405cd0
push 5
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0x10
push eax
call fcn.0044ed72
add esp, 0x18
mov ecx, eax
call fcn.0044ef88
pop ebx
push 0
push 0x30
lea eax, [ebp - 0x38]
push eax
push dword [esi + 0x28]
call dword [sym.imp.WS2_32.dll_send]
lea ecx, [ebp - 4]
call fcn.0044f049
pop edi
pop esi
leave
ret

Function at 0x41ef39
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
push 0x405e58
lea ecx, [ebp - 4]
call fcn.0044efe3
xor edi, edi
cmp dword [ebp + 0xc], edi
jle 0x41ef96
mov eax, dword [ebp + 0xc]
and dword [esi + 0x4c], 0
push 0
sub eax, edi
push eax
mov eax, dword [ebp + 8]
add eax, edi
push eax
push dword [esi + 0x28]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x41ef84
test eax, eax
je 0x41ef8f
add edi, eax
cmp edi, dword [ebp + 0xc]
jl 0x41ef57
jmp 0x41ef96
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x4c], eax
jmp 0x41ef96
mov dword [esi + 0x4c], 0x274a
lea ecx, [ebp - 4]
call fcn.0044f049
mov eax, edi
pop edi
pop esi
leave
ret 8
Function at 0x41efab
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x81c
push ebx
push edi
mov edi, ecx
push 0x405e88
lea ecx, [ebp - 0x10]
call fcn.0044efe3
mov ebx, dword [ebp + 8]
xor ecx, ecx
xor eax, eax
xor edx, edx
cmp dword [ebp + 0xc], ecx
mov dword [ebp - 8], eax
jbe 0x41efe4
add eax, dword [ebx + edx*8]
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x41efd8
mov dword [ebp - 8], eax
cmp eax, ecx
mov dword [ebp + 8], ecx
jle 0x41f0e5
push esi
jmp 0x41eff4
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
jbe 0x41f0e4
push ecx
push ecx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov dword [edi + 0x4c], ecx
push ebx
push dword [edi + 0x28]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
mov esi, dword [0x458858]
test esi, esi
mov dword [ebp - 0x14], eax
je 0x41f087
push 5
push 3
mov ecx, esi
call fcn.00414777
test al, al
je 0x41f087
push dword [ebp - 4]
mov ecx, dword [edi + 0xa0]
mov eax, dword [edi + 0x80]
and dword [ebp - 0x1c], 0
push 0x405e74
push dword [ecx*4 + 0x405ad8]
lea ecx, [ebp - 0x81c]
push eax
push 0x405cd0
push 5
mov dword [ebp - 0x18], esi
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0x10
push eax
call fcn.0044ed72
add esp, 0xc
mov ecx, eax
call fcn.0044ef88
cmp dword [ebp - 0x14], 0xffffffff
je 0x41f0ca
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x41f0d9
add dword [ebp + 8], ecx
jmp 0x41f0b8
cmp dword [ebp + 0xc], 0
jbe 0x41f0bc
mov eax, dword [ebx]
cmp ecx, eax
jb 0x41f0af
sub ecx, eax
add ebx, 8
dec dword [ebp + 0xc]
jmp 0x41f0b8
add dword [ebx + 4], ecx
sub eax, ecx
mov dword [ebx], eax
xor ecx, ecx
test ecx, ecx
ja 0x41f099
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 8]
jl 0x41eff2
jmp 0x41f0e4
and dword [ebp + 8], 0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi + 0x4c], eax
jmp 0x41f0e4
and dword [ebp + 8], 0
mov dword [edi + 0x4c], 0x274a
pop esi
lea ecx, [ebp - 0x10]
call fcn.0044f049
mov eax, dword [ebp + 8]
pop edi
pop ebx
leave
ret 8

Function at 0x41f54f
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
and dword [esi], 0
lea eax, [esi + 4]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov ecx, esi
call fcn.004147c2
mov eax, esi
pop esi
pop ebp
ret 0x14

Function at 0x420134
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0041fe2f
pop eax
loop 0x42015f
jl 0x420127
inc ebp
iretd
mov byte [ebp - 0x17af3fbb], cl
invalid
Function at 0x4219be
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
invalid
invalid
Function at 0x42384c
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x818
push ebx
xor ebx, ebx
cmp byte [ecx + 0xc], bl
jne 0x42386c
push ebx
push 0xbb8
push 3
call fcn.00423773
push ebx
push ebx
push 0x422b6f
push 0x1000
push ebx
lea ecx, [ebp - 8]
call fcn.0041f54f
cmp dword [ebp - 8], ebx
je 0x42388c
cmp dword [ebp - 8], 0xffffffff
jne 0x4238dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00414575
mov eax, dword [eax]
mov ecx, dword [0x458858]
push eax
push 0x40719c
mov dword [ebp - 0x14], ecx
push 0xd
lea ecx, [ebp - 0x818]
mov dword [ebp - 0x18], ebx
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0xc
mov ecx, eax
call fcn.0044ef88
lea ecx, [ebp - 0x10]
call fcn.00413720
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 8]
call fcn.004147ea
pop ebx
leave
ret

Function at 0x426f93
Capabilities:
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x80c
cmp dword [ebp + 8], 0x100007f
jne 0x426fae
mov al, 1
jmp 0x427095
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_gethostbyname]
xor ebx, ebx
push ebx
call esi
cmp eax, ebx
jne 0x427006
mov esi, dword [0x458858]
cmp esi, ebx
je 0x426fff
push 3
push 1
mov ecx, esi
call fcn.00414777
test al, al
je 0x426fff
push 0x4080b0
push 3
lea ecx, [ebp - 0x80c]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
call fcn.0044ef27
push eax
call fcn.0044ed72
pop ecx
pop ecx
mov ecx, eax
call fcn.0044ef88
xor al, al
jmp 0x427093
push edi
push dword [eax]
call esi
mov edi, eax
cmp edi, ebx
je 0x427090
cmp word [edi + 8], 2
jne 0x427090
mov eax, dword [edi + 0xc]
cmp dword [eax], ebx
mov dword [ebp - 4], ebx
je 0x427090
mov esi, dword [0x458858]
xor ecx, ecx
test esi, esi
mov eax, dword [eax + ecx]
mov ebx, dword [eax]
je 0x427079
push 3
push 2
mov ecx, esi
call fcn.00414777
test al, al
je 0x427079
and dword [ebp - 0xc], 0
push ebx
mov dword [ebp - 8], esi
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x4080a0
push 3
lea ecx, [ebp - 0x80c]
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0xc
mov ecx, eax
call fcn.0044ef88
mov esi, dword [0x458858]
cmp dword [ebp + 8], ebx
je 0x427099
inc dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov eax, dword [edi + 0xc]
shl ecx, 2
cmp dword [eax + ecx], 0
jne 0x42702a
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
mov al, 1
jmp 0x427092
Function at 0x4286a9
Capabilities:
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4564f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x40848c
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], eax
call fcn.0044efe3
mov esi, dword [sym.imp.WS2_32.dll_gethostbyname]
push 0
call esi
push dword [eax]
call esi
mov ebx, eax
test ebx, ebx
je 0x4287b1
cmp word [ebx + 8], 2
jne 0x4287b1
mov eax, dword [ebx + 0xc]
mov esi, 0x408480
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsw word es:[edi], word [esi]
cmp dword [eax], ecx
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x18], ecx
je 0x42877c
mov eax, dword [eax + ecx]
mov esi, dword [eax]
push 0x2c
call fcn.0041365f
mov edi, eax
test edi, edi
pop ecx
je 0x428741
push 0
push esi
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push ecx
push ecx
mov ecx, esp
push eax
call fcn.004136fa
mov ecx, edi
call fcn.00428368
mov esi, eax
jmp 0x428743
xor esi, esi
test esi, esi
je 0x428764
mov ecx, dword [ebp - 0x1c]
push esi
call fcn.0044e8b6
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 0xc]
call fcn.004136bb
test al, al
je 0x428764
mov byte [ebp - 0x11], 1
inc dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebx + 0xc]
shl ecx, 2
cmp dword [eax + ecx], 0
jne 0x428710
cmp byte [ebp - 0x11], 0
jne 0x4287b1
push 0x2c
call fcn.0041365f
mov esi, eax
test esi, esi
pop ecx
je 0x4287a2
push 0
push ecx
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.004136fa
mov ecx, esi
call fcn.00428368
jmp 0x4287a4
xor eax, eax
test eax, eax
je 0x4287b1
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.0044e8b6
lea ecx, [ebp - 0x20]
call fcn.0044f049
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0043db8b
leave
ret 4
Function at 0x431efe
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x864
push esi
push edi
push 0x44
pop edi
push edi
xor esi, esi
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.0043d340
mov dword [ebp - 0x5c], edi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push 8
push esi
push esi
push esi
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x431f90
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00414575
mov eax, dword [eax]
mov ecx, dword [0x458858]
push eax
push 0x40af24
mov dword [ebp - 0x60], ecx
push 3
lea ecx, [ebp - 0x864]
mov dword [ebp - 0x64], esi
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0xc
mov ecx, eax
call fcn.0044ef88
lea ecx, [ebp - 0x18]
call fcn.00413720
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
leave
ret 4
Function at 0x43c072
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esi], eax
push edi
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 4]
call fcn.00413d49
mov eax, dword [ebp + 0x14]
or dword [esi + 0x10], 0xffffffff
mov dword [esi + 0xc], eax
xor eax, eax
lea ecx, [ebp + 8]
push ecx
push eax
push esi
push 0x43c004
push eax
lea edi, [esi + 0x24]
mov dword [edi], eax
push eax
mov byte [esi + 0x28], al
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov ecx, edi
call fcn.004147c2
lea ecx, [ebp + 0xc]
call fcn.00413720
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x10

Function at 0x43fd7e
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], esi
cmp edi, dword [esi*8 + 0x456790]
je 0x43fda4
inc esi
cmp esi, 0x17
mov dword [ebp - 4], esi
jb 0x43fd92
cmp esi, 0x17
jae 0x43fefe
push 3
call fcn.00448204
cmp eax, 1
pop ecx
je 0x43fec8
push 3
call fcn.00448204
test eax, eax
pop ecx
jne 0x43fdd7
cmp dword [0x4564ec], 1
je 0x43fec8
cmp edi, 0xfc
je 0x43fefe
push 0x40e034
mov edi, 0x314
push edi
mov esi, 0x457e00
push esi
call fcn.0043eb71
add esp, 0xc
test eax, eax
je 0x43fe0d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00441df3
add esp, 0x14
mov byte [0x457f1d], bl
push 0x104
mov ebx, 0x457e19
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43fe50
push 0x40e01c
push 0x2fb
push ebx
call fcn.0043eb71
add esp, 0xc
test eax, eax
je 0x43fe50
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00441df3
add esp, 0x14
push ebx
push edi
push esi
call fcn.0044818b
add esp, 0xc
xor ebx, ebx
test eax, eax
je 0x43fe6e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00441df3
add esp, 0x14
push 0x40e018
push edi
push esi
call fcn.0044818b
add esp, 0xc
test eax, eax
je 0x43fe8e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00441df3
add esp, 0x14
mov eax, dword [ebp - 4]
push dword [eax*8 + 0x456794]
push edi
push esi
call fcn.0044818b
add esp, 0xc
test eax, eax
je 0x43feb3
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00441df3
add esp, 0x14
push 0x12010
push 0x40dff0
push esi
call fcn.00447fe6
add esp, 0xc
jmp 0x43fefe
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
cmp edi, ebx
je 0x43fefe
cmp edi, 0xffffffff
je 0x43fefe
mov edx, dword [esi*8 + 0x456794]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43fee7
push ebx
lea eax, [ebp - 8]
push eax
sub ecx, esi
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x445f40
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x445f53
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x445f4f
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x445f80
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x445fbf
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x445fb5
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x445fc1
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x445fa5
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x447fe6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0044089e
xor ebx, ebx
cmp dword [0x458720], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4480bd
push 0x40e314
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x448028
xor eax, eax
jmp 0x448181
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40e308
push edi
call esi
cmp eax, ebx
je 0x448021
push eax
call fcn.00440833
mov dword [esp], 0x40e2f8
push edi
mov dword [0x458720], eax
call esi
push eax
call fcn.00440833
mov dword [esp], 0x40e2e4
push edi
mov dword [0x458724], eax
call esi
push eax
call fcn.00440833
mov dword [0x458728], eax
lea eax, [ebp - 8]
push eax
call fcn.0043ee7c
test eax, eax
pop ecx
pop ecx
je 0x44808b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00441df3
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4480bd
push 0x40e2c8
push edi
call esi
push eax
call fcn.00440833
cmp eax, ebx
pop ecx
mov dword [0x458730], eax
je 0x4480bd
push 0x40e2b0
push edi
call esi
push eax
call fcn.00440833
pop ecx
mov dword [0x45872c], eax
mov eax, dword [0x45872c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x448136
cmp dword [0x458730], esi
je 0x448136
push eax
call fcn.004408ac
pop ecx
call eax
cmp eax, ebx
je 0x448103
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x458730]
call fcn.004408ac
pop ecx
call eax
test eax, eax
je 0x448103
test byte [ebp - 0x18], 1
jne 0x448136
lea eax, [ebp - 0xc]
push eax
call fcn.0043eebd
test eax, eax
pop ecx
je 0x44811e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00441df3
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x44812d
or dword [ebp + 0x10], 0x200000
jmp 0x448167
or dword [ebp + 0x10], 0x40000
jmp 0x448167
mov eax, dword [0x458724]
cmp eax, esi
je 0x448167
push eax
call fcn.004408ac
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x448167
mov eax, dword [0x458728]
cmp eax, esi
je 0x448167
push dword [ebp - 4]
push eax
call fcn.004408ac
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x458720]
call fcn.004408ac
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44aee7
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4564f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
xor edi, edi
push eax
mov dword [ebp - 0xc], edi
call fcn.0043ee7c
test eax, eax
pop ecx
je 0x44af1c
push edi
push edi
push edi
push edi
push edi
call fcn.00441df3
add esp, 0x14
push 4
pop eax
call fcn.0043dba0
mov dword [ebp - 0x14], esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x44b02a
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x58]
dec esi
neg esi
sbb esi, esi
and esi, 0x103
inc esi
cmp dword [ebp - 0xc], 2
mov dword [ebp - 8], edi
jne 0x44afa3
push 0x40e290
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, edi
je 0x44afa3
push 0x40ecbc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x44afa3
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], edi
call eax
cmp eax, 1
jne 0x44afa3
mov eax, dword [ebp - 0x10]
cmp eax, edi
jbe 0x44afa3
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea edi, [ebx - 1]
push edi
push dword [ebp - 8]
call fcn.004401b7
add esp, 0xc
test eax, eax
jl 0x44b02a
not edi
and dword [ebp - 8], edi
je 0x44afd5
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 8]
call fcn.004401b7
add esp, 0xc
test eax, eax
jl 0x44b02a
lea eax, [ebx + ebx]
cmp dword [ebp - 8], eax
jae 0x44afe0
mov dword [ebp - 8], eax
lea edi, [ebx - 1]
not edi
and edi, dword [ebp - 0x14]
sub edi, dword [ebp - 8]
cmp dword [ebp - 0xc], 1
jne 0x44aff4
push 0x11
pop ebx
mov eax, dword [ebp - 0x18]
add ebx, eax
cmp edi, ebx
jb 0x44b02a
push 4
push 0x1000
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x44b02a
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x44b02a
xor eax, eax
inc eax
jmp 0x44b02c
xor eax, eax
lea esp, [ebp - 0x68]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043db8b
leave
ret
Function at 0x44bfc8
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
push 1
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.00449f0c
mov dword [ebp - 0x18], eax
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
mov dword [ebp - 0x14], edx
je 0x44c050
push 2
push ebx
push ebx
push dword [ebp + 8]
call fcn.00449f0c
mov ecx, eax
and ecx, edx
add esp, 0x10
cmp ecx, 0xffffffff
je 0x44c050
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
sub esi, eax
sbb edi, edx
js 0x44c0e5
jg 0x44c029
cmp esi, ebx
jbe 0x44c0e5
mov ebx, 0x1000
push ebx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
mov dword [ebp - 4], eax
jne 0x44c05c
call fcn.00441ef5
mov dword [eax], 0xc
call fcn.00441ef5
mov eax, dword [eax]
pop edi
pop esi
pop ebx
leave
ret
push 0x8000
push dword [ebp + 8]
call fcn.0044c183
pop ecx
pop ecx
mov dword [ebp - 8], eax
test edi, edi
jl 0x44c07c
jg 0x44c078
cmp esi, ebx
jb 0x44c07c
mov eax, ebx
jmp 0x44c07e
mov eax, esi
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00449610
add esp, 0xc
cmp eax, 0xffffffff
je 0x44c0c8
cdq
sub esi, eax
sbb edi, edx
js 0x44c09f
jg 0x44c06e
test esi, esi
ja 0x44c06e
mov esi, dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0044c183
pop ecx
pop ecx
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor ebx, ebx
jmp 0x44c14e
call fcn.00441f0d
cmp dword [eax], 5
jne 0x44c0dd
call fcn.00441ef5
mov dword [eax], 0xd
or esi, 0xffffffff
mov dword [ebp - 0xc], esi
jmp 0x44c0a2
cmp edi, ebx
jg 0x44c15a
jl 0x44c0ef
cmp esi, ebx
jae 0x44c15a
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00449f0c
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x44c050
push dword [ebp + 8]
call fcn.004492fe
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
neg eax
sbb eax, eax
neg eax
dec eax
cdq
mov dword [ebp - 0x10], eax
and eax, edx
cmp eax, 0xffffffff
mov dword [ebp - 0xc], edx
jne 0x44c15a
call fcn.00441ef5
mov dword [eax], 0xd
call fcn.00441f0d
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov esi, dword [ebp - 0x10]
and esi, dword [ebp - 0xc]
cmp esi, 0xffffffff
je 0x44c050
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.00449f0c
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x44c050
xor eax, eax
jmp 0x44c057
Function at 0x44eecb
Capabilities:
Print debug messages
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
test dword [esi + 4], 0x40000000
jne 0x44ef09
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44eee7
push 0
sub eax, ecx
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp + 8]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test dword [esi + 4], 0x80000000
pop esi
jne 0x44ef1c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
leave
ret 4