joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424e0a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0041b76d
xor ebx, ebx
cmp dword [0x43cdb8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x424edf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x424e4a
xor eax, eax
jmp 0x424fa3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x424e43
push eax
call fcn.0041b70a
mov dword [esp], 0x4315bc
push edi
mov dword [0x43cdb8], eax
call esi
push eax
call fcn.0041b70a
mov dword [esp], 0x4315a8
push edi
mov dword [0x43cdbc], eax
call esi
push eax
call fcn.0041b70a
mov dword [0x43cdc0], eax
lea eax, [ebp - 8]
push eax
call fcn.00418837
test eax, eax
pop ecx
pop ecx
je 0x424ead
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041c9cb
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x424edf
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041b70a
cmp eax, ebx
pop ecx
mov dword [0x43cdc8], eax
je 0x424edf
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041b70a
pop ecx
mov dword [0x43cdc4], eax
mov eax, dword [0x43cdc4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x424f58
cmp dword [0x43cdc8], esi
je 0x424f58
push eax
call fcn.0041b776
pop ecx
call eax
cmp eax, ebx
je 0x424f25
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x43cdc8]
call fcn.0041b776
pop ecx
call eax
test eax, eax
je 0x424f25
test byte [ebp - 0x18], 1
jne 0x424f58
lea eax, [ebp - 0xc]
push eax
call fcn.0041886e
test eax, eax
pop ecx
je 0x424f40
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041c9cb
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x424f4f
or dword [ebp + 0x10], 0x200000
jmp 0x424f89
or dword [ebp + 0x10], 0x40000
jmp 0x424f89
mov eax, dword [0x43cdbc]
cmp eax, esi
je 0x424f89
push eax
call fcn.0041b776
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x424f89
mov eax, dword [0x43cdc0]
cmp eax, esi
je 0x424f89
push dword [ebp - 4]
push eax
call fcn.0041b776
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 [0x43cdb8]
call fcn.0041b776
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42b224
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x438e80]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0042b1b9
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004162c0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x42b273
cmp dword [ebp - 0x1c], 5
jb 0x42b28b
jmp 0x42b287
cmp dword [ebp - 0x10], 1
jne 0x42b28b
cmp dword [ebp - 0x1c], 4
ja 0x42b287
jne 0x42b28b
cmp dword [ebp - 0x18], 0
jbe 0x42b28b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4327a4
call fcn.0042b08d
test eax, eax
jge 0x42b2ac
mov byte [0x43a368], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00416063
add ebp, 0x78
leave
ret
Function at 0x580770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x123000]
push edi
jmp 0x58078a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x580791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x580780
mov eax, 1
add ebx, ebx
jne 0x5807a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5807b4
jne 0x5807d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807d3
dec eax
add ebx, ebx
jne 0x5807c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x580798
add ebx, ebx
jne 0x5807cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x580825
xor ecx, ecx
sub eax, 3
jb 0x5807eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x58085a
sar eax, 1
mov ebp, eax
jmp 0x5807f6
add ebx, ebx
jne 0x5807f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807c4
inc ecx
add ebx, ebx
jne 0x580804
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807c4
add ebx, ebx
jne 0x580811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x580806
jne 0x580822
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x580806
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x580844
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x580836
jmp 0x580786
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x580844
add edi, ecx
jmp 0x580786
pop esi
mov edi, esi
mov ecx, 0x40d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x580862
cmp byte [edi], 0x11
jne 0x580862
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x580867
lea edi, [esi + 0x179000]
mov eax, dword [edi]
or eax, eax
je 0x5808df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x21b5cc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21b748]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x580894
mov ecx, edi
jns 0x5808c3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x21b74c]
or eax, eax
je 0x5808d9
mov dword [ebx], eax
add ebx, 4
jmp 0x5808b1
call dword [esi + 0x21b75c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x580910
cmp al, 0xef
ja 0x580903
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5808e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5808f2
mov ebp, dword [esi + 0x21b750]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x580944
sub esp, 0xffffff80
jmp 0x4204f7
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219

Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x12996ed2
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x431060
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4310d2
mov ebx, 0x42f3f8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4b246253
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4310c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x580770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x123000]
push edi
jmp 0x58078a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x580791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x580780
mov eax, 1
add ebx, ebx
jne 0x5807a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5807b4
jne 0x5807d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807d3
dec eax
add ebx, ebx
jne 0x5807c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x580798
add ebx, ebx
jne 0x5807cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x580825
xor ecx, ecx
sub eax, 3
jb 0x5807eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x58085a
sar eax, 1
mov ebp, eax
jmp 0x5807f6
add ebx, ebx
jne 0x5807f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807c4
inc ecx
add ebx, ebx
jne 0x580804
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807c4
add ebx, ebx
jne 0x580811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x580806
jne 0x580822
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x580806
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x580844
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x580836
jmp 0x580786
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x580844
add edi, ecx
jmp 0x580786
pop esi
mov edi, esi
mov ecx, 0x40d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x580862
cmp byte [edi], 0x11
jne 0x580862
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x580867
lea edi, [esi + 0x179000]
mov eax, dword [edi]
or eax, eax
je 0x5808df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x21b5b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21b734]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x580894
mov ecx, edi
jns 0x5808c3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x21b738]
or eax, eax
je 0x5808d9
mov dword [ebx], eax
add ebx, 4
jmp 0x5808b1
call dword [esi + 0x21b748]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x580910
cmp al, 0xef
ja 0x580903
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5808e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5808f2
mov ebp, dword [esi + 0x21b73c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x580944
sub esp, 0xffffff80
jmp 0x4204f7
Function at 0x401803
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov eax, 0x42995f
call fcn.00428790
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x18]
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], bl
mov byte [esi + 3], bl
mov byte [esi + 4], bl
mov byte [esi + 5], bl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.0040185c
lea ecx, [esi + 0x30]
call fcn.00402607
lea ecx, [esi + 0x3c]
mov dword [ebp - 4], ebx
call fcn.00402607
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4018bf
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x4299c7
call fcn.00428790
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x42c818
mov dword [esi + 0xc], 0x42c808
mov dword [esi + 0x10], 0x42c7f8
mov dword [esi + 0x14], ebx
lea ecx, [esi + 0x24]
mov byte [esi + 0x1a], bl
mov byte [esi + 0x1b], bl
mov byte [esi + 0x1c], bl
mov byte [esi + 0x1d], 1
mov byte [esi + 0x1e], bl
mov byte [esi + 0x20], bl
mov byte [esi + 0x21], bl
call fcn.00402607
lea ecx, [esi + 0x30]
mov dword [ebp - 4], ebx
call fcn.00402607
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 1
call fcn.00402607
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 2
mov dword [esi + 0x50], ebx
mov byte [esi + 0x54], bl
mov byte [esi + 0x55], bl
call fcn.00402607
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 3
call fcn.00402607
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 4
call fcn.00402607
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 5
call fcn.00402607
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 6
call fcn.00402607
lea ecx, [esi + 0x94]
mov byte [ebp - 4], 7
call fcn.00402607
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x42c7d4
mov dword [esi + 4], 0x42c7c0
mov dword [esi + 8], 0x42c7ac
mov dword [esi + 0xc], 0x42c79c
mov dword [esi + 0x10], 0x42c78c
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40395f
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
and dword [ebp - 4], 0
push esi
push edi
push dword [ebp + 8]
mov ebx, ecx
mov edi, edx
lea ecx, [ebp - 4]
push 0x2002
call fcn.00405618
test al, al
jne 0x403986
xor bl, bl
jmp 0x4039bc
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x403982
push dword [ebp + 8]
push edi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 4]
push ebx
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x403982
and dword [ebp - 4], 0
mov bl, 1
lea ecx, [ebp - 4]
call fcn.00405639
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x403b6e
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret
Function at 0x403cfa
Capabilities:
Create directory

Disassembly:
mov eax, 0x429b78
call fcn.00428790
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x403d1d
mov al, 1
jmp 0x403d63
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x403d2e
xor al, al
jmp 0x403d63
lea ecx, [ebp - 0x44]
call fcn.00403f37
lea ecx, [ebp - 0x1c]
call fcn.00402607
push ebx
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.004042b2
test al, al
je 0x403d58
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.004020e1
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4042b1
or eax, eax
ret

Function at 0x404960
Capabilities:
Get disk information

Disassembly:
mov eax, 0x429c50
call fcn.00428790
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
call fcn.00401e95
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x18], ebx
je 0x404a36
mov eax, SysReAllocString
cmp ebx, eax
ja 0x40499c
mov eax, ebx
add eax, eax
push eax
call fcn.004020ad
mov esi, eax
pop ecx
mov dword [ebp - 0x20], esi
and dword [ebp - 4], 0
push esi
push ebx
call edi
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x14], ebx
je 0x404a2f
cmp ebx, dword [ebp - 0x18]
ja 0x404a2f
lea ecx, [ebp - 0x2c]
call fcn.00402607
test ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], edi
jbe 0x404a17
push 2
xor eax, eax
pop ebx
cmp word [esi + ebx - 2], 0
jne 0x404a0c
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.00402746
mov ecx, dword [ebp - 0x10]
lea eax, [edi + 1]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
call fcn.0040c7b5
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push eax
call fcn.00401ca6
mov eax, ebx
inc edi
inc ebx
inc ebx
cmp edi, dword [ebp - 0x14]
jb 0x4049da
mov ebx, dword [ebp - 0x14]
push dword [ebp - 0x2c]
call fcn.004020e1
push esi
call fcn.004020e1
cmp dword [ebp - 0x18], ebx
pop ecx
pop ecx
sete al
jmp 0x404a38
push esi
call fcn.004020e1
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x404abd
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push edi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x404ae7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x404ae7
xor al, al
jmp 0x404b07
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00428a70
mov ecx, eax
xor eax, eax
add ecx, edi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop edi
leave
ret 4
Function at 0x40bfde
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x42a2da
call fcn.00428790
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov byte [esi + 0x21], al
call fcn.00402607
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0040c02d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40c08a
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x42a325
call fcn.00428790
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.0040e553
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0040c0d5
push dword [esi + 0x24]
call fcn.004020e1
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.00410c66
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0040c663
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40eb8b
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x42a731
call fcn.00428790
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
mov byte [esi + 0x11], bl
mov byte [esi + 0x12], bl
mov byte [esi + 0x13], bl
mov byte [esi + 0x14], bl
mov byte [esi + 0x15], bl
mov byte [esi + 0x16], bl
mov byte [esi + 0x17], bl
call fcn.00402607
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 4
call fcn.00402607
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 5
call fcn.00402607
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 6
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov word [esi + 0x4c], bx
mov byte [esi + 0x4e], bl
mov byte [esi + 0x4f], bl
call fcn.0040c02d
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 7
call fcn.0040c02d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40edce
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x42a7b2
call fcn.00428790
push ecx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [esi], 0x42cfd0
mov dword [esi + 4], 0x42cfbc
mov dword [esi + 8], 0x42cfac
mov dword [esi + 0xc], 0x42c7f8
mov dword [esi + 0x10], 0x42cf98
mov dword [esi + 0x14], eax
mov byte [esi + 0x18], al
mov byte [esi + 0x19], al
mov dword [ebp - 0x10], esi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
call fcn.00402607
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.00402607
lea edi, [esi + 0x60]
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.00403f37
lea ecx, [edi + 0x28]
call fcn.00402607
lea ecx, [esi + 0x98]
mov byte [ebp - 4], 5
call fcn.0040aad1
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x42cf84
mov dword [esi + 4], 0x42cf70
mov dword [esi + 8], 0x42cf60
mov dword [esi + 0xc], 0x42cf50
mov dword [esi + 0x10], 0x42cf3c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret