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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b28
mov eax, dword [ebp - 8]
call fcn.00404b28
mov eax, dword [ebp - 0xc]
call fcn.00404b28
mov eax, dword [ebp + 0x10]
call fcn.00404b28
xor eax, eax
push ebp
push 0x41df5d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call fcn.0041c3e4
test al, al
jne 0x41df3a
mov dword [ebp - 0x14], 9
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x41df70
push 0x80000002
call fcn.00406e44
test eax, eax
jne 0x41df3a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1d]
push eax
push 0
push 0
push 0x41dfa0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00406e4c
test eax, eax
jne 0x41df31
cmp byte [ebp - 0x1d], 0x31
jne 0x41df31
cmp byte [ebp - 0x1c], 0
jne 0x41df31
lea eax, [ebp - 0x66]
mov edx, 0x18
call fcn.00407ba4
lea eax, [ebp - 0x4e]
mov edx, 0x30
call fcn.00407ba4
lea eax, [ebp - 0x7e]
mov edx, 0x18
call fcn.00407ba4
mov dword [ebp - 0x62], 1
mov eax, dword [ebp - 4]
call fcn.00404b38
mov dword [ebp - 0x5e], eax
mov eax, dword [ebp - 8]
call fcn.00404b38
mov dword [ebp - 0x4a], eax
mov eax, dword [ebp - 0xc]
call fcn.00404b38
mov dword [ebp - 0x46], eax
cmp dword [ebp - 4], 0
je 0x41de54
mov dword [ebp - 0x2e], 1
lea eax, [ebp - 0x66]
mov dword [ebp - 0x2a], eax
cmp dword [ebp + 0x10], 0
je 0x41de79
mov dword [ebp - 0x76], 0xffffffff
mov eax, dword [ebp + 0x10]
call fcn.00404b38
mov dword [ebp - 0x72], eax
mov dword [ebp - 0x26], 1
lea eax, [ebp - 0x7e]
mov dword [ebp - 0x22], eax
cmp byte [ebp + 8], 0
je 0x41de89
cmp dword [ebp - 4], 0
je 0x41de89
xor edi, edi
jmp 0x41de8e
mov edi, 9
push 0x41dfa8
push 0x41dfb8
call fcn.0040711c
push eax
call fcn.0040701c
mov esi, eax
test esi, esi
je 0x41df31
xor edx, edx
xor eax, eax
call fcn.0041b998
cmp dword [ebp + 0xc], 0
je 0x41decb
push 0xffffffffffffffec
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040788c
test al, 8
jne 0x41decf
xor eax, eax
jmp 0x41ded1
mov al, 1
mov byte [ebp - 0x1e], al
cmp byte [ebp - 0x1e], 0
je 0x41deef
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp + 0xc]
push eax
call fcn.00407adc
push 0
push edi
lea eax, [ebp - 0x4e]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
call esi
sub eax, 1
jb 0x41df07
je 0x41df0b
jmp 0x41df0d
mov bl, 1
jmp 0x41df0d
mov bl, 2
cmp byte [ebp - 0x1e], 0
je 0x41df28
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp + 0xc]
push eax
call fcn.00407adc
xor edx, edx
mov al, 1
call fcn.0041b998
mov eax, dword [ebp - 0x10]
push eax
call fcn.00406e2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41df64
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004046ac
lea eax, [ebp + 0x10]
call fcn.00404688
ret
Function at 0x41ec90
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404b28
xor eax, eax
push ebp
push 0x41ed15
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor esi, esi
jmp 0x41ecef
mov eax, dword [ebp - 4]
call fcn.00404940
mov ebx, eax
sub ebx, esi
cmp ebx, 0x400
jle 0x41ecd5
mov ebx, 0x400
push 0
push ebx
lea eax, [ebp - 4]
call fcn.00404b90
add eax, esi
push eax
push edi
call fcn.0041b0dc
test eax, eax
jl 0x41ecff
add esi, ebx
mov eax, dword [ebp - 4]
call fcn.00404940
cmp esi, eax
jl 0x41ecbc
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ed1c
lea eax, [ebp - 4]
call fcn.00404688
ret
Function at 0x41ed28
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffadc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x520], ebx
mov dword [ebp - 0x524], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404b28
xor eax, eax
push ebp
push 0x41ef53
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x51c], 1
mov dword [ebp - 0x518], ebx
mov dword [ebp - 0x18], 7
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
lea eax, [ebp - 0x51c]
push eax
push 0
call fcn.0041b0d4
test eax, eax
jle 0x41ef1e
push 0
push 0x400
lea eax, [ebp - 0x418]
push eax
push ebx
call fcn.0041b0c4
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404940
cmp edi, eax
setge bl
test bl, bl
je 0x41ef20
lea edx, [ebp - 0x418]
lea eax, [ebp - 0xc]
mov ecx, edi
call fcn.00404778
mov eax, dword [ebp - 4]
call fcn.00404940
mov esi, eax
test esi, esi
jle 0x41ee06
mov edi, 1
mov eax, dword [ebp - 0xc]
mov al, byte [eax + edi - 1]
mov edx, dword [ebp - 4]
cmp al, byte [edx + edi - 1]
je 0x41ee02
xor ebx, ebx
jmp 0x41ee06
inc edi
dec esi
jne 0x41edee
test bl, bl
je 0x41ef20
cmp dword [ebp - 8], 0
je 0x41ef20
mov eax, dword [ebp - 0xc]
call fcn.00404940
mov esi, eax
test esi, esi
jle 0x41ef12
mov edi, 1
mov eax, dword [ebp - 0xc]
cmp byte [eax + edi - 1], 0x3d
jne 0x41ee46
lea eax, [ebp - 0xc]
call fcn.00404b90
mov byte [eax + edi - 1], 0x20
inc edi
dec esi
jne 0x41ee2f
jmp 0x41ef12
push 0xffffffffffffffff
mov ecx, 1
mov edx, dword [ebp - 0xc]
mov eax, 0x41ef6c
call fcn.004083b8
mov edi, eax
test edi, edi
jne 0x41ee6e
mov edi, 0x7fffffff
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
sub ecx, 5
mov edx, 5
mov eax, dword [ebp - 0xc]
call fcn.00404b98
lea ecx, [edi + 1]
lea eax, [ebp - 0xc]
mov edx, 1
call fcn.00404bd8
mov edx, dword [ebp - 0x10]
mov eax, 0x41ef78
call fcn.004086b4
test al, al
jne 0x41eeb6
mov edx, dword [ebp - 0x10]
mov eax, 0x41ef88
call fcn.004086b4
test al, al
je 0x41ef12
push 0xffffffffffffffff
push 0x41ef98
lea eax, [ebp - 0x524]
push eax
mov ecx, 0x7fffffff
mov edx, 6
mov eax, dword [ebp - 0x10]
call fcn.00404b98
push dword [ebp - 0x524]
push 0x41ef98
lea eax, [ebp - 0x520]
mov edx, 3
call fcn.00404a00
mov edx, dword [ebp - 0x520]
mov ecx, 1
mov eax, 0x41efa4
call fcn.0040840c
test eax, eax
jle 0x41ef12
mov eax, dword [ebp - 8]
mov byte [eax], 1
jmp 0x41ef20
cmp dword [ebp - 0xc], 0
jne 0x41ee4f
jmp 0x41ef20
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ef5a
lea eax, [ebp - 0x524]
mov edx, 2
call fcn.004046ac
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004046ac
lea eax, [ebp - 4]
call fcn.00404688
ret
Function at 0x41f054
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404b28
xor eax, eax
push ebp
push 0x41f1dc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 8]
call fcn.00404b38
push eax
call fcn.00406e6c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
setne byte [ebp - 9]
cmp byte [ebp - 9], 0
je 0x41f1b9
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00406fc4
mov esi, eax
mov bl, 1
test esi, esi
jbe 0x41f1b0
cmp esi, 0x39
jbe 0x41f0dc
mov edi, 0x39
jmp 0x41f0de
mov edi, esi
push 0
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x4d]
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.0040718c
test eax, eax
je 0x41f0fb
cmp edi, dword [ebp - 0x14]
je 0x41f115
test bl, bl
jne 0x41f10c
mov edx, 0x41f1f8
mov eax, dword [ebp - 4]
call fcn.0041ec90
mov byte [ebp - 9], 0
jmp 0x41f1b0
test bl, bl
je 0x41f17f
push 0x41f204
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 8]
call fcn.0041bb94
push dword [ebp - 0x58]
push 0x41f25c
push 0x41f1f8
push 0x41f268
push 0x41f1f8
push 0x41f294
push 0x41f2c0
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 8]
call fcn.0041bb94
push dword [ebp - 0x5c]
push 0x41f25c
push 0x41f1f8
push 0x41f1f8
lea eax, [ebp - 0x54]
mov edx, 0xc
call fcn.00404a00
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.0041ec90
lea ecx, [ebp - 0x60]
lea eax, [ebp - 0x4d]
mov edx, edi
call fcn.0041377c
lea eax, [ebp - 0x60]
mov edx, 0x41f1f8
call fcn.00404948
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 4]
call fcn.0041ec90
sub esi, edi
xor ebx, ebx
test esi, esi
ja 0x41f0d0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00406e54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f1e3
lea eax, [ebp - 0x60]
mov edx, 4
call fcn.004046ac
lea eax, [ebp - 8]
call fcn.00404688
ret
Function at 0x41ff08
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbbc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x42016d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffeb
push ebx
call fcn.0040788c
mov edx, dword [eax*4 + 0x4f59a4]
lea eax, [ebp - 0x444]
call fcn.00404878
mov ecx, dword [ebp - 0x444]
lea eax, [ebp - 0x10]
mov edx, 0x420188
call fcn.0040498c
push 0
push 0x10
push 0x10
push 1
mov eax, dword [ebp - 0x10]
call fcn.00404b38
mov edi, eax
push edi
push esi
call fcn.00407954
mov ebx, eax
test ebx, ebx
je 0x41ffad
mov byte [ebp - 5], 1
push 3
push 0
push 0
push 0
push 0
push ebx
push 3
push 3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 8]
push eax
call fcn.0040769c
push ebx
call fcn.0040765c
jmp 0x42014c
mov byte [ebp - 5], 0
push 2
push edi
push esi
call fcn.00406f24
mov ebx, eax
test ebx, ebx
je 0x42014c
push ebx
push esi
call fcn.004071e4
cmp eax, 0x428
jne 0x42014c
push ebx
push esi
call fcn.0040712c
mov ebx, eax
test ebx, ebx
je 0x42014c
push ebx
call fcn.0040714c
mov esi, eax
lea edx, [ebp - 0x40]
mov eax, esi
mov ecx, 0x28
call fcn.004029bc
add esi, 0x28
lea edx, [ebp - 0x440]
mov eax, esi
mov ecx, 0x400
call fcn.004029bc
mov eax, ebx
call fcn.00407bac
push ebx
call fcn.00406f4c
mov eax, dword [ebp - 4]
and eax, 0xff
shl eax, 0x10
mov edx, dword [ebp - 4]
and edx, 0xff00
add eax, edx
mov edx, dword [ebp - 4]
and edx, 0xff0000
shr edx, 0x10
add eax, edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], pe_nt_image_headers32
lea eax, [ebp - 0x440]
mov ecx, dword [eax]
mov edx, ecx
shr edx, 0x18
inc edx
mov ebx, pe_nt_image_headers32
sub ebx, edx
mov esi, dword [ebp - 4]
and esi, 0xff00ff
imul ebx, esi
mov esi, ecx
and esi, 0xff00ff
imul esi, edx
add ebx, esi
shr ebx, 8
and ebx, 0xff00ff
mov esi, pe_nt_image_headers32
sub esi, edx
mov edi, dword [ebp - 4]
and edi, 0xff00
imul esi, edi
and ecx, 0xff00
imul ecx, edx
add esi, ecx
shr esi, 8
and esi, 0xff00
add ebx, esi
mov dword [eax], ebx
add eax, 4
dec dword [ebp - 0xc]
jne 0x420054
push 0
call fcn.004072bc
mov esi, eax
test esi, esi
je 0x42014c
xor eax, eax
mov dword [ebp - 0x14], eax
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.004072cc
mov ebx, eax
test ebx, ebx
je 0x420146
cmp dword [ebp - 0x14], 0
je 0x420146
call fcn.0040738c
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x440]
mov ecx, 0x400
call fcn.004029bc
call fcn.0040738c
push ebx
push esi
call fcn.004074dc
mov edi, eax
push 0xcc0020
push 0
push 0
push esi
push 0x10
push 0x10
push 3
push 3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 8]
push eax
call fcn.00407284
push edi
push esi
call fcn.004074dc
push ebx
call fcn.00407354
mov byte [ebp - 5], 1
push esi
call fcn.0040733c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420174
lea eax, [ebp - 0x444]
call fcn.00404688
lea eax, [ebp - 0x10]
call fcn.00404688
ret
Function at 0x422328
Capabilities:
Create pipe
Create thread

Disassembly:
push 0
push 0
push 0x4f59d0
push 0x4f59cc
call fcn.00406ea4
test eax, eax
je 0x42238c
push 0x4f59c4
push 0
push 0
push 0x4222dc
push 0
push 0
call fcn.00406eb4
mov dword [0x4f59c8], eax
cmp dword [0x4f59c8], 0
je 0x42238c
push 0
push 0
push 0
mov ecx, 0x422398
mov edx, dword [0x4f59c8]
mov eax, dword [0x4f59c4]
call fcn.0041c0c8
push 2
mov eax, dword [0x4f59c8]
push eax
call fcn.004071dc
ret

Function at 0x42239c
Capabilities:
Resume thread
Terminate thread
Write file on windows

Disassembly:
add esp, 0xffffffe0
cmp dword [0x4f59c4], 0xffffffff
je 0x422439
mov eax, dword [0x4f59c8]
push eax
call fcn.004071a4
mov eax, dword [0x4f59d0]
push eax
call fcn.00406e54
call fcn.0041c3e4
test al, al
jne 0x422402
lea eax, [esp + 4]
mov edx, 0x1c
call fcn.00407ba4
push 0
lea eax, [esp + 4]
push eax
push 0x1c
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x4f59d0]
push eax
call fcn.00407244
push 0x1f4
mov eax, dword [0x4f59c8]
push eax
call fcn.0040723c
push 0
mov eax, dword [0x4f59c8]
push eax
call fcn.0040720c
mov eax, dword [0x4f59c8]
push eax
call fcn.00406e54
mov eax, dword [0x4f59cc]
push eax
call fcn.00406e54
push 0
push 0
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [0x4f59c4]
call fcn.0041c0c8
add esp, 0x20
ret
Function at 0x422440
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x42260b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jne 0x42247d
call fcn.004028b8
test eax, eax
je 0x42247d
call fcn.004028b8
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0
jne 0x422497
call fcn.004028b8
test eax, eax
je 0x422497
call fcn.004028b8
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
je 0x4224d4
xor eax, eax
push ebp
push 0x4224c5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004037f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4224d4
call fcn.00406f8c
mov dword [ebp - 0x28], eax
mov al, byte [ebp - 1]
mov byte [ebp - 0x24], al
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov al, byte [ebp + 0xc]
mov byte [ebp - 0x18], al
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
call fcn.0041c3e4
test al, al
jne 0x422510
call fcn.00406f8c
cmp eax, dword [0x4f59c4]
jne 0x422517
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x422527
push 0
push 0
push 0xffffffffffffffff
push 0
call fcn.00406e64
mov dword [ebp - 0x2c], eax
mov al, 1
call fcn.0041cdd8
xor eax, eax
push ebp
push 0x4225b0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x2c], 0
je 0x422593
push 0
lea eax, [ebp - 0x10]
push eax
push 0x1c
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [0x4f59d0]
push eax
call fcn.00407244
test eax, eax
je 0x422588
cmp dword [ebp - 0x10], 0x1c
jne 0x422588
jmp 0x422576
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.004079bc
push 0x32
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0040723c
cmp eax, 0x102
je 0x422565
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406e54
jmp 0x42259b
lea eax, [ebp - 0x2c]
call fcn.00421ec8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4225b7
xor eax, eax
call fcn.0041cdd8
ret
Function at 0x4228d0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4229f9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp bl, 0x5c
je 0x4229de
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x422943
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
mov edx, ebx
call fcn.00404868
lea eax, [ebp - 0x2c]
mov edx, 0x422a10
call fcn.00404948
mov eax, dword [ebp - 0x2c]
call fcn.00404b38
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call eax
jmp 0x42299f
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
mov edx, ebx
call fcn.00404868
lea eax, [ebp - 0x30]
mov edx, 0x422a10
call fcn.00404948
mov eax, dword [ebp - 0x30]
call fcn.00404b38
push eax
call fcn.00406f9c
test eax, eax
je 0x42299f
mov eax, dword [ebp - 0x24]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x20]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x1c]
xor edx, edx
call fcn.004057dc
call fcn.004057dc
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push 0x422a1c
lea eax, [ebp - 0x38]
mov edx, ebx
call fcn.00404868
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.00408308
push dword [ebp - 0x34]
push 0x422a28
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x3c]
call fcn.00409290
push dword [ebp - 0x3c]
mov eax, esi
mov edx, 4
call fcn.00404a00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422a00
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.004046ac
ret

Function at 0x422a2c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x422acd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call fcn.004070e4
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
add eax, 0x80000
shr eax, 0x14
mov cl, 0x30
mov edx, 1
call fcn.00408ce8
push dword [ebp - 0x24]
push 0x422ae4
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x80000
shr eax, 0x14
mov cl, 0x30
mov edx, 1
call fcn.00408ce8
push dword [ebp - 0x28]
push 0x422af0
push 0x422b0c
mov eax, ebx
mov edx, 5
call fcn.00404a00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422ad4
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004046ac
ret
Function at 0x42456c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x424694
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
call fcn.00404688
xor eax, eax
push ebp
push 0x42466f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, ebx
mov edx, esi
call fcn.00404778
mov edx, edi
lea eax, [ebp - 0xc]
mov ecx, ebx
call fcn.00404778
mov eax, dword [ebp - 8]
call fcn.00404940
cmp ebx, eax
jne 0x424665
mov eax, dword [ebp - 0xc]
call fcn.00404940
cmp ebx, eax
jne 0x424665
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00404a84
je 0x424665
lea eax, [ebp - 0x10]
push eax
push 0x40
push ebx
push esi
call fcn.00407224
test eax, eax
je 0x424665
mov edx, esi
mov eax, edi
mov ecx, ebx
call fcn.004029bc
mov eax, dword [0x4f98f0]
call fcn.00405bf8
mov ebx, eax
lea eax, [ebx + 1]
push eax
mov eax, 0x4f98f0
mov ecx, 1
mov edx, dword [0x424548]
call fcn.00405db4
add esp, 4
lea edi, [ebx + ebx*2]
mov eax, dword [0x4f98f0]
mov dword [eax + edi*4], esi
mov eax, dword [0x4f98f0]
lea eax, [eax + edi*4 + 4]
mov edx, dword [ebp - 8]
call fcn.004046dc
mov eax, dword [0x4f98f0]
lea eax, [eax + edi*4 + 8]
mov edx, dword [ebp - 0xc]
call fcn.004046dc
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x424679
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42469b
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004046ac
ret

Function at 0x4246a8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x424794
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4f98f0]
call fcn.00405c00
test eax, eax
jl 0x42476e
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
lea eax, [eax + eax*2]
mov edx, dword [0x4f98f0]
lea ebx, [edx + eax*4]
xor eax, eax
push ebp
push 0x424758
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 4]
call fcn.00404940
mov ecx, eax
mov edx, dword [ebx]
lea eax, [ebp - 8]
call fcn.00404778
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 8]
call fcn.00404a84
jne 0x42474e
lea eax, [ebp - 0xc]
push eax
push 0x40
mov eax, dword [ebx + 4]
call fcn.00404940
push eax
mov eax, dword [ebx]
push eax
call fcn.00407224
test eax, eax
je 0x42474e
mov eax, dword [ebx + 4]
call fcn.00404940
mov ecx, eax
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
call fcn.004029bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x424762
inc dword [ebp - 4]
dec dword [ebp - 0x10]
jne 0x4246e1
mov eax, 0x4f98f0
mov edx, dword [0x424548]
call fcn.00405ed4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42479b
lea eax, [ebp - 8]
call fcn.00404688
ret
Function at 0x4256c4
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x425792
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
call fcn.00406f7c
mov cl, 0x30
mov edx, 1
call fcn.00408d78
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x4257a8
call fcn.0040498c
mov eax, dword [ebp - 4]
call fcn.00404b38
push eax
push 0
push 4
call fcn.0040716c
mov ebx, eax
test ebx, ebx
je 0x425777
push 0
push 0
push 0
push 4
push ebx
call fcn.00407154
mov esi, eax
test esi, esi
je 0x425771
mov eax, dword [esi + 4]
push eax
call fcn.00406e54
mov eax, dword [esi]
push eax
push 0
push 0x100000
call fcn.00407174
mov edi, eax
test edi, edi
je 0x425759
push 0xffffffffffffffff
push edi
call fcn.0040723c
push edi
call fcn.00406e54
mov edx, 0x4f5914
lea eax, [esi + 8]
mov ecx, 0x50
call fcn.004029bc
push esi
call fcn.00407214
push ebx
call fcn.00406e54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425799
lea eax, [ebp - 8]
mov edx, 2
call fcn.004046ac
ret