joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408050
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
lea eax, [esp + 0x14]
push edi
push eax
push 0x2001f
push 0
push ecx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40807d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4080b3
mov edx, dword [esp + 0x18]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
call edi
push ebp
call edi
test esi, esi
je 0x4081da
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
push 0
push 0
mov eax, dword [esp + 0x20]
push 0
push 0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
push 0
lea ecx, [esp + 0x24]
push 0
lea edx, [esp + 0x38]
push ecx
push edx
push 0
push 0
push 0
push eax
mov dword [esp + 0x50], 0
call ebx
test eax, eax
jne 0x40816d
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov eax, dword [esp + 0x20]
test eax, eax
jbe 0x4081b7
mov ecx, dword [esp + 0x10]
inc ecx
push ecx
call fcn.0041611f
mov edx, dword [esp + 0x14]
add esp, 4
inc edx
mov esi, eax
mov eax, dword [esp + 0x18]
push edx
push esi
push 0
push eax
call edi
test eax, eax
jne 0x408180
mov ecx, dword [esp + 0x18]
push eax
push esi
push ecx
call fcn.00408050
add esp, 0xc
test eax, eax
push esi
je 0x40819c
call fcn.00416148
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
jbe 0x4081b7
push 0
push 0
mov ecx, dword [esp + 0x20]
push 0
push 0
push 0
lea edx, [esp + 0x24]
push 0
lea eax, [esp + 0x38]
push edx
push eax
push 0
push 0
push 0
push ecx
call ebx
test eax, eax
je 0x4080f2
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
push esi
call fcn.00416148
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
call fcn.00416148
mov ecx, dword [esp + 0x1c]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x4081da
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x408250
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], 0x10
call fcn.004070c0
add esp, 4
mov dword [esp + 0x18], eax
mov word [esp + 0x14], 2
push 0x26d3
call sub.WSOCK32.dll_htons
lea ebx, [esi + 4]
mov word [esp + 0x16], ax
mov ebp, dword [esp + 0x2c]
mov ecx, 0xfa
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x30]
push ebp
stosb byte es:[edi], al
push ecx
mov edi, 0x4246c4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebp
push ecx
push 0x4246c4
call fcn.004036a0
mov eax, dword [esp + 0x44]
mov ecx, dword [esi + 0x3f4]
add esp, 0x14
lea edx, [esp + 0x14]
push 0x10
push edx
push 0
push eax
push ebp
push ecx
call sub.WSOCK32.dll_sendto
mov ecx, dword [esi + 0x3f4]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0x3e8
push ebx
push ecx
call sub.WSOCK32.dll_recvfrom
push ebx
mov dword [esi + 0x3f0], eax
push eax
mov edi, 0x4246c4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
push ecx
push 0x4246c4
call fcn.004036a0
mov eax, dword [esi + 0x3f0]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc

Function at 0x408330
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
sub esp, 0x14
push esi
push 0
push 2
mov esi, ecx
push 2
call sub.WSOCK32.dll_socket
push 0
mov dword [esi + 0x3f4], eax
call sub.WSOCK32.dll_htonl
push 0
mov dword [esp + 0x10], eax
mov word [esp + 0xc], 2
call sub.WSOCK32.dll_htons
mov ecx, dword [esi + 0x3f4]
mov word [esp + 0xa], ax
lea eax, [esp + 8]
push 0x10
push eax
push ecx
call sub.WSOCK32.dll_bind
mov eax, dword [esi + 0x3f4]
lea edx, [esp + 4]
push 4
push edx
push 0x1006
push 0xffff
push eax
mov dword [esp + 0x18], 0x3e8
call sub.WSOCK32.dll_setsockopt
pop esi
add esp, 0x14
ret
Function at 0x410210
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4778cb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x4934c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov ecx, dword [0x47c288]
mov dword [esi + 0xc], ecx
mov edx, dword [0x47c28c]
mov dword [esi + 0x10], edx
mov ecx, dword [0x47c290]
mov dword [esi + 0x14], ecx
mov edx, dword [0x47c294]
mov dword [esi + 0x18], edx
mov dword [esi + 8], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov dword [esi + 0x30], edi
cmp edi, ebx
je 0x4102e4
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
push esi
push edi
call ecx
cmp eax, ebx
mov eax, dword [esi + 0x30]
jl 0x4102d5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x30]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp + 8]
mov dword [ebp + 8], ebx
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
cmp eax, ebx
jl 0x4102e4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
lea eax, [esi + 4]
push eax
mov eax, dword [edx + 0x20]
push ecx
call eax
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x4102e4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp + 8], ebx
jmp 0x4102e4
cmp eax, ebx
je 0x4102e4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x30], ebx
push 8
call fcn.00458a0d
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x410315
mov dword [ebx], 0x47e398
mov dword [ebx + 4], edi
test edi, edi
je 0x410317
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
jmp 0x410317
xor ebx, ebx
mov dword [esi + 0x28], ebx
lea eax, [esi + 0x34]
mov ecx, 0x96
mov dword [eax], 0
add eax, 0x10
dec ecx
jne 0x410322
mov eax, dword [0x4961f8]
mov dword [esi + 0x994], eax
inc eax
mov dword [0x4961f8], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x430cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov eax, 0x47d940
push esi
sub eax, 0xbc
push edi
mov dword [esp + 0x14], 0xbc
mov dword [esp + 0x1c], eax
jmp 0x430ce8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov esi, dword [eax + ecx]
mov eax, esi
mov dword [esp + 0x10], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x430cf8
sub eax, edx
mov edi, eax
mov ecx, edi
shr ecx, 5
inc ecx
mov ebx, edi
mov dword [esp + 0x18], edi
mov edx, edi
cmp edi, ecx
jb 0x430d38
movzx eax, byte [esi + edx - 1]
mov esi, ebx
shl esi, 5
add eax, esi
mov esi, ebx
shr esi, 2
add eax, esi
mov esi, dword [esp + 0x10]
sub edx, ecx
xor ebx, eax
cmp edx, ecx
jae 0x430d15
mov dword [esp + 0x18], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 8]
mov eax, dword [eax]
dec edx
and edx, ebx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x430da6
lea ecx, [ecx]
cmp dword [eax + 0xc], edi
jne 0x430da0
mov ecx, edi
lea edx, [eax + 0x10]
cmp edi, 4
jb 0x430d74
nop
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x430d98
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x430d60
test ecx, ecx
je 0x430de6
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x430d98
cmp ecx, 1
jbe 0x430de6
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x430d98
cmp ecx, 2
jbe 0x430de6
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x430de6
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
jne 0x430d50
mov eax, dword [ebp + 8]
push esi
push eax
mov eax, ebx
call fcn.00432340
add esp, 8
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov esi, dword [edx + 0x10]
mov dword [ecx + esi], eax
mov edx, dword [edx + 0x10]
mov eax, dword [ecx + edx]
or byte [eax + 5], 0x20
add ecx, 4
mov dword [esp + 0x14], ecx
cmp ecx, 0x100
jl 0x430ce4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov cl, byte [eax + 5]
mov esi, dword [esi + 0x10]
movzx ebx, byte [esi + 0x14]
movzx edx, cl
and edx, 3
not ebx
test bl, dl
je 0x430db5
xor cl, 3
mov byte [eax + 5], cl
jmp 0x430db5
Function at 0x432410
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov ecx, edi
shr ecx, 5
inc ecx
mov ebx, edi
mov dword [esp + 0xc], edi
mov edx, edi
cmp edi, ecx
jb 0x432451
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + edx - 1]
mov esi, ebx
shl esi, 5
add eax, esi
mov esi, ebx
shr esi, 2
add eax, esi
sub edx, ecx
xor ebx, eax
cmp edx, ecx
jae 0x43242f
mov dword [esp + 0xc], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 8]
mov eax, dword [eax]
dec edx
and edx, ebx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4324ba
cmp dword [eax + 0xc], edi
jne 0x4324b4
mov esi, dword [ebp + 0xc]
mov ecx, edi
lea edx, [eax + 0x10]
cmp edi, 4
jb 0x43248c
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x4324b0
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x432478
test ecx, ecx
je 0x4324d3
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x4324b0
cmp ecx, 1
jbe 0x4324d3
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x4324b0
cmp ecx, 2
jbe 0x4324d3
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x4324d3
mov ebx, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x432466
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov eax, ebx
call fcn.00432340
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
mov cl, byte [eax + 5]
movzx edx, byte [edx + 0x14]
movzx ebx, cl
not edx
and ebx, 3
test bl, dl
je 0x4324cc
pop edi
xor cl, 3
pop esi
mov byte [eax + 5], cl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4474f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4934c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x41c], ecx
lea ecx, [ebp - 0x40c]
push edi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x414], 0
mov edi, 0x400
jmp 0x447546
mov eax, dword [ebp - 0x410]
lea edx, [ebp - 0x40c]
sub ecx, edx
mov dword [ebp - 0x424], ecx
je 0x4475b0
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x44]
mov esi, eax
cmp edx, dword [ecx + 0x40]
jb 0x447568
call fcn.0042c850
mov eax, dword [ebp - 0x424]
mov ebx, dword [esi + 8]
push eax
lea ecx, [ebp - 0x40c]
push ecx
push esi
call fcn.00432410
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
inc dword [ebp - 0x414]
lea eax, [ebp - 0x418]
add esp, 0xc
lea edx, [ebp - 0x40c]
push eax
mov dword [ebp - 0x418], edx
call fcn.00421390
add esp, 4
mov ebx, dword [ebp + 0xc]
cmp edi, ebx
jbe 0x4475b9
mov edi, ebx
mov ecx, dword [ebp - 0x41c]
push ecx
push edi
lea edx, [ebp - 0x40c]
push 1
push edx
call fcn.0045f922
mov ecx, dword [ebp - 0x418]
add ecx, eax
add esp, 0x10
sub ebx, eax
mov dword [ebp - 0x418], ecx
mov dword [ebp + 0xc], ebx
je 0x4475ef
cmp eax, edi
je 0x447540
lea eax, [ebp - 0x40c]
sub ecx, eax
mov edi, ecx
je 0x447649
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x44]
mov esi, eax
cmp edx, dword [ecx + 0x40]
jb 0x447613
call fcn.0042c850
mov ebx, dword [esi + 8]
push edi
lea eax, [ebp - 0x40c]
push eax
push esi
call fcn.00432410
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x40c]
add esp, 0xc
inc dword [ebp - 0x414]
mov dword [ebp - 0x418], ecx
mov eax, dword [ebp - 0x414]
mov esi, dword [ebp - 0x410]
call fcn.0041e5a0
mov dword [ebp - 0x414], 1
test ebx, ebx
je 0x4476c6
mov edi, dword [ebp - 0x420]
mov esi, dword [edi + 8]
mov eax, dword [esi - 8]
sub esi, 0x10
add eax, 0xfffffffd
cmp eax, 4
ja 0x4476b3
jmp dword [eax*4 + 0x4443ec]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004587b3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004587b3
mov esp, ebp
pop ebp
ret
Function at 0x44a0f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
mov esi, dword [eax*4 + 0x47d040]
mov eax, esi
mov dword [esp + 0xc], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a118
sub eax, edx
mov edi, eax
mov ecx, edi
shr ecx, 5
inc ecx
mov ebx, edi
mov dword [esp + 0x14], edi
mov edx, edi
cmp edi, ecx
jb 0x44a158
movzx eax, byte [esi + edx - 1]
mov esi, ebx
shl esi, 5
add eax, esi
mov esi, ebx
shr esi, 2
add eax, esi
mov esi, dword [esp + 0xc]
sub edx, ecx
xor ebx, eax
cmp edx, ecx
jae 0x44a135
mov dword [esp + 0x14], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 8]
mov eax, dword [eax]
dec edx
and edx, ebx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x44a1d2
lea ecx, [ecx]
cmp dword [eax + 0xc], edi
jne 0x44a1cc
mov ecx, edi
lea edx, [eax + 0x10]
cmp edi, 4
jb 0x44a194
nop
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x44a1c4
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x44a180
test ecx, ecx
je 0x44a243
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x44a1c4
cmp ecx, 1
jbe 0x44a243
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x44a1c4
cmp ecx, 2
jbe 0x44a243
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x44a243
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x44a170
mov eax, dword [ebp + 8]
push esi
push eax
mov eax, ebx
call fcn.00432340
add esp, 8
mov ecx, dword [esp + 0x10]
or byte [eax + 5], 0x20
lea edx, [ecx + 1]
inc ecx
mov byte [eax + 6], dl
mov dword [esp + 0x10], ecx
cmp ecx, 0x1f
jl 0x44a104
mov ecx, dword [str.R6008_r_n__not_enough_space_for_arguments_r_n]
test ecx, ecx
je 0x44a23c
mov esi, str.R6008_r_n__not_enough_space_for_arguments_r_n
mov bl, 0x2d
mov edi, edi
mov eax, ecx
add esi, 4
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44a218
sub eax, edi
push eax
mov eax, dword [ebp + 8]
push ecx
push eax
call fcn.00432410
or byte [eax + 5], 0x20
mov byte [eax + 6], bl
mov ecx, dword [esi]
add esp, 0xc
test ecx, ecx
jne 0x44a210
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov cl, byte [eax + 5]
mov esi, dword [esi + 0x10]
movzx ebx, byte [esi + 0x14]
movzx edx, cl
and edx, 3
not ebx
test bl, dl
je 0x44a1e1
xor cl, 3
mov byte [eax + 5], cl
jmp 0x44a1e1
Function at 0x44b900
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, eax
mov eax, dword [ebx]
push edi
push esi
push eax
mov eax, ebx
call fcn.0044af20
mov eax, dword [esi]
mov ecx, dword [ebx + 0x34]
add eax, 0x10
call fcn.0041f4c0
mov esi, eax
push 0x480ce8
push esi
call fcn.00459515
mov edi, eax
add esp, 0x10
mov dword [ebp - 8], edi
test edi, edi
jne 0x44b995
mov ecx, dword [ebx + 0x34]
push esi
push 0x480cec
push ecx
call fcn.00432bc0
mov esi, dword [ebx + 0x34]
mov dword [ebp - 4], eax
mov eax, dword [esi + 8]
lea ecx, [eax - 0x10]
add esp, 0xc
cmp ecx, eax
jae 0x44b97f
lea edx, [ecx - 0x10]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [edx + 0x18]
mov dword [edx + 8], eax
add ecx, 0x10
add edx, 0x10
cmp ecx, dword [esi + 8]
jb 0x44b964
mov ecx, dword [ebp - 4]
add dword [esi + 8], 0xfffffff0
push 0x131
push ecx
push ebx
call fcn.0044a4a0
add esp, 0xc
mov eax, dword [ebx + 0x34]
add dword [eax + 8], 0xfffffff0
mov edx, dword [ebx + 0x3c]
mov dword [edx + 4], 0
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov eax, dword [ebx + 0x34]
push 0x400
push ecx
push edx
push eax
call fcn.0044d330
mov ecx, dword [ebx + 0x3c]
mov dword [ecx], eax
mov edx, dword [ebx + 0x3c]
mov dword [edx + 8], 0x400
mov esi, dword [ebx + 0x3c]
mov eax, dword [esi]
add eax, dword [esi + 4]
push edi
push 0x400
push 1
push eax
call fcn.0045f922
add esp, 0x20
test eax, eax
je 0x44ba6a
mov edi, edi
add dword [esi + 4], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
add ecx, 0x400
cmp ecx, eax
jbe 0x44ba50
lea edi, [eax + eax]
cmp edi, 0x7ffffffe
jb 0x44ba1e
push 0
push 0x480b7c
push ebx
call fcn.0044a4a0
add esp, 0xc
lea ecx, [edi + 1]
cmp ecx, 0xfffffffd
ja 0x44ba3c
mov edx, dword [esi + 8]
mov eax, dword [esi]
mov ecx, dword [ebx + 0x34]
push edi
push edx
push eax
push ecx
call fcn.0044d330
add esp, 0x10
jmp 0x44ba48
mov edx, dword [ebx + 0x34]
push edx
call fcn.0044d310
add esp, 4
mov dword [esi + 8], edi
mov edi, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [esi]
add eax, dword [esi + 4]
push edi
push 0x400
push 1
push eax
call fcn.0045f922
add esp, 0x10
test eax, eax
jne 0x44b9f0
push edi
call fcn.00459813
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
add esp, 4
call fcn.0044a5a0
mov ecx, dword [ebp + 8]
pop edi
pop esi
mov dword [ecx], eax
mov eax, 0x131
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b9c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, eax
mov eax, dword [ebx]
push edi
push esi
push eax
mov eax, ebx
call fcn.0044af20
mov eax, dword [esi]
mov ecx, dword [ebx + 0x34]
add eax, 0x10
call fcn.0041f4c0
mov esi, eax
push 0x480ce8
push esi
call fcn.00459515
mov edi, eax
add esp, 0x10
mov dword [ebp - 8], edi
test edi, edi
jne 0x44b995
mov ecx, dword [ebx + 0x34]
push esi
push 0x480cec
push ecx
call fcn.00432bc0
mov esi, dword [ebx + 0x34]
mov dword [ebp - 4], eax
mov eax, dword [esi + 8]
lea ecx, [eax - 0x10]
add esp, 0xc
cmp ecx, eax
jae 0x44b97f
lea edx, [ecx - 0x10]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [edx + 0x18]
mov dword [edx + 8], eax
add ecx, 0x10
add edx, 0x10
cmp ecx, dword [esi + 8]
jb 0x44b964
mov ecx, dword [ebp - 4]
add dword [esi + 8], 0xfffffff0
push 0x131
push ecx
push ebx
call fcn.0044a4a0
add esp, 0xc
mov eax, dword [ebx + 0x34]
add dword [eax + 8], 0xfffffff0
mov edx, dword [ebx + 0x3c]
mov dword [edx + 4], 0
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov eax, dword [ebx + 0x34]
push 0x400
push ecx
push edx
push eax
call fcn.0044d330
mov ecx, dword [ebx + 0x3c]
mov dword [ecx], eax
mov edx, dword [ebx + 0x3c]
mov dword [edx + 8], 0x400
mov esi, dword [ebx + 0x3c]
mov eax, dword [esi]
add eax, dword [esi + 4]
push edi
push 0x400
push 1
push eax
call fcn.0045f922
add esp, 0x20
test eax, eax
je 0x44ba6a
mov edi, edi
add dword [esi + 4], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
add ecx, 0x400
cmp ecx, eax
jbe 0x44ba50
lea edi, [eax + eax]
cmp edi, 0x7ffffffe
jb 0x44ba1e
push 0
push 0x480b7c
push ebx
call fcn.0044a4a0
add esp, 0xc
lea ecx, [edi + 1]
cmp ecx, 0xfffffffd
ja 0x44ba3c
mov edx, dword [esi + 8]
mov eax, dword [esi]
mov ecx, dword [ebx + 0x34]
push edi
push edx
push eax
push ecx
call fcn.0044d330
add esp, 0x10
jmp 0x44ba48
mov edx, dword [ebx + 0x34]
push edx
call fcn.0044d310
add esp, 4
mov dword [esi + 8], edi
mov edi, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [esi]
add eax, dword [esi + 4]
push edi
push 0x400
push 1
push eax
call fcn.0045f922
add esp, 0x10
test eax, eax
jne 0x44b9f0
push edi
call fcn.00459813
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
add esp, 4
call fcn.0044a5a0
mov ecx, dword [ebp + 8]
pop edi
pop esi
mov dword [ecx], eax
mov eax, 0x131
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d7f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
test esi, esi
je 0x44d82b
push 0x497900
call dword [0x4790dc]
mov edi, esi
call fcn.0044d480
mov edi, eax
test edi, edi
je 0x44d82b
inc dword [edi + 0x14]
push 0x497900
call dword [0x4790d8]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x44d84f
test esi, esi
je 0x44d847
push 0x497900
call dword [0x4790d8]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
je 0x44d864
test esi, esi
jmp 0x44d95a
mov edx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x34]
mov esi, dword [0x47909c]
push 4
push 0x2000
push edx
push eax
call esi
mov edi, eax
test edi, edi
jne 0x44d899
mov ecx, dword [ebx + 0x50]
push 4
push 0x2000
push ecx
push eax
call esi
mov edi, eax
test edi, edi
je 0x44d956
push 0x1c
push 0
call dword [0x479124]
push eax
call dword [0x47911c]
mov esi, eax
xor eax, eax
push 4
mov dword [esi + 4], edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov edx, dword [ebx + 0x50]
push 0x1000
push edx
push edi
call dword [0x47909c]
mov eax, dword [ebx + 0x54]
push 4
push 0x1000
push eax
push edi
call dword [0x47909c]
mov ecx, dword [ebp + 8]
mov edx, dword [ebx + 0x54]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 4], eax
push edx
push ecx
push eax
call fcn.00469f30
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, dword [ebp - 4]
push esi
push ebx
mov dword [esi], eax
push ecx
mov dword [eax + 0x34], edi
call fcn.0044d4c0
mov eax, edi
add esp, 0x18
sub eax, dword [ebx + 0x34]
je 0x44d91d
push eax
mov eax, esi
call fcn.0044d640
add esp, 4
push esi
call fcn.0044d6d0
add esp, 4
test eax, eax
je 0x44d94f
push esi
call fcn.0044d570
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
add esp, 4
mov ebx, 1
test eax, eax
je 0x44d973
add eax, edi
je 0x44d94f
push 0
push ebx
push edi
call eax
test eax, eax
jne 0x44d970
mov eax, esi
call fcn.0044dac0
cmp dword [ebp + 0xc], 0
je 0x44d967
push 0x497900
call dword [0x4790d8]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x10], ebx
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x14], ebx
test eax, eax
je 0x44d9a4
push eax
call fcn.00460996
add esp, 4
mov edi, esi
mov dword [esi + 0x18], eax
call fcn.0044d380
push 0x497900
call dword [0x4790d8]
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x14], ebx
pop ebx
pop edi
mov dword [esi + 0x18], 0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret