joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
rcr byte [eax - 0xe7dc41c], cl
pushal
xor cl, 0x60
mov esp, 0x2d691087
add eax, 0x7197015a
stc
pop ebx
inc ecx
jns 0x4153e4
push ecx
adc eax, 0x2ffac03
adc dword ds:[ecx + 0x5ab87b6], esp
pop ebp
int3
Function at 0x45b01e
Capabilities:
Encode data using xor

Disassembly:
jmp 0x471e66
push edi
mov edi, dword [esp + 0x14]
lea ecx, [esp + 8]
call fcn.0045c10d
test eax, eax
je 0x471ef3
push esi
xor esi, esi
cmp dword [esp + 0x1c], esi
jbe 0x471ef2
push ebx
push ebp
mov ebx, 0x45649c
mov ebp, 0x562020
mov al, byte [edi + esi]
xor al, 0x73
push ebx
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebp
mov byte [edi + esi], al
call fcn.00458d6e
pop ecx
pop ecx
mov ecx, eax
call fcn.0045cccf
mov al, byte [edi + esi]
push ebx
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebp
mov byte [edi + esi], al
call fcn.00458d6e
pop ecx
pop ecx
mov ecx, eax
call fcn.0045cccf
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x5165e4
mov byte [edi + esi], al
call fcn.0045818e
xor byte [edi + esi], al
inc esi
pop ecx
cmp esi, dword [esp + 0x24]
jb 0x471e8d
pop ebp
pop ebx
pop esi
lea ecx, [esp + 8]
call fcn.00459b7e
pop edi
ret 0x14

Function at 0x45b933
Capabilities:
Parse pe header

Disassembly:
jmp 0x4a1780
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4a17bf
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4a17bf
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4a17bf
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4a17bf
cmp dword [ecx + 0x74], 0xe
jbe 0x4a17bf
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x49f952
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.004590fc
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x49f991
sub eax, 1
je 0x49f98c
sub eax, 1
je 0x49f988
xor eax, eax
leave
ret
push 3
jmp 0x49f993
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret
Function at 0x4f6c36
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00457108
mov eax, dword [0x55edc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0045c176
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4f6c78
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4f6dd4
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0045c2fc
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x563628]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00458ab7
mov ecx, dword [esi*4 + 0x563628]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4f6dcd
cmp eax, dword [edi + ecx + 0x24]
jne 0x4f6dcd
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4f6dcd
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00458ab7
add esp, 0x14
test edx, edx
jl 0x4f6dcd
jg 0x4f6d43
test eax, eax
jb 0x4f6dcd
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4f6dcd
jl 0x4f6d5d
cmp dword [ebp - 0x1008], eax
ja 0x4f6dcd
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4f6d7b
test ebx, ebx
je 0x4f6db4
cmp ecx, edi
jae 0x4f6db4
mov al, byte [ecx]
cmp al, 0xd
jne 0x4f6d95
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4f6da1
cmp byte [ecx + 1], 0xa
jne 0x4f6da1
inc ecx
jmp 0x4f6da1
movzx eax, al
movsx eax, byte [eax + 0x55f130]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4f6d7b
cmp edx, ebx
jne 0x4f6d7b
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4f6dd2
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0045880f
leave
ret
Function at 0x4f6fd9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x563628]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4f7019
cmp byte [ebx], 0xa
jne 0x4f7019
or byte [eax + edi + 0x28], 4
jmp 0x4f701e
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4f711c
mov al, byte [edx]
cmp al, 0x1a
je 0x4f70fe
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4f704d
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4f7072
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4f707c
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4f702f
jmp 0x4f711c
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4f70f9
cmp dword [ebp - 0xc], 0
je 0x4f70f9
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x563628]
test byte [eax + edi + 0x28], 0x48
je 0x4f70d3
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4f70be
mov byte [esi], dl
jmp 0x4f70cf
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x563628]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4f711c
cmp byte [ebp - 1], 0xa
jne 0x4f70e2
cmp esi, ebx
jne 0x4f70e2
mov byte [esi], 0xa
jmp 0x4f711b
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00456ba4
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4f711c
mov byte [esi], 0xd
jmp 0x4f711b
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x563628]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4f7118
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4f711c
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4f7178
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x563628]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4f71bb
cmp word [esi], dx
jne 0x4f71bb
or byte [edi + eax + 0x28], 4
jmp 0x4f71c0
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4f7313
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4f72f3
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4f7202
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4f7238
cmp eax, edx
jae 0x4f7244
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4f71da
jmp 0x4f7313
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4f72ef
cmp dword [ebp - 0x14], 0
je 0x4f72ef
mov eax, dword [ebx*4 + 0x563628]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4f72c7
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4f7290
mov word [esi], cx
jmp 0x4f72c3
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x563628]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x563628]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x563628]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4f7313
pop ebx
cmp word [ebp - 4], bx
jne 0x4f72d8
cmp esi, dword [ebp + 0xc]
jne 0x4f72d8
mov word [esi], bx
jmp 0x4f7310
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00456ba4
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4f7313
push 0xd
jmp 0x4f730c
mov ecx, dword [ebx*4 + 0x563628]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4f730a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4f7313
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4fa1b4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x55edc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4fa1ff
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004fa676
test al, al
jne 0x4fa1f9
sub edx, 2
cmp edx, edi
jne 0x4fa1df
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4fa221
lea eax, [edi + 2]
cmp edx, eax
je 0x4fa221
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004f9dad
add esp, 0x10
jmp 0x4fa31b
push esi
lea ecx, [ebp - 0x255]
call fcn.004fa676
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4fa264
push dword [ebp - 0x25c]
jmp 0x4fa211
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4fa2a1
cmp word [ebp - 0x226], 0
je 0x4fa2c2
cmp word [ebp - 0x226], ax
jne 0x4fa2a1
cmp word [ebp - 0x224], 0
je 0x4fa2c2
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004f9dad
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4fa30e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4fa27b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4fa2f6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4fa31b
push 0x4f9795
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0045b64f
add esp, 0x10
jmp 0x4fa2eb
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045880f
leave
ret
Function at 0x403920
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x34
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x4c], eax
je 0x40396c
call fcn.00435630
lea eax, [0x646a3e]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.00435f10
call fcn.004356a0
mov dword [esp], 2
call fcn.0042f4f0
mov eax, dword [esp + 0x2c]
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
nop
inc dword [ecx + 0x148]
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
mov ebx, ecx
mov dword [edx + 0xc0], ecx
mov ecx, dword [ebx + 0x18]
mov dword [ebx + 0x98], ecx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x30], ecx
test byte [ecx], al
lea esi, [ecx + 0x19c]
lea edi, [esp + 0x10]
call fcn.0045ed54
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0xc], edx
call fcn.0045aaf0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x18]
mov byte [ecx + 0x88], 0
mov ecx, dword [eax + 0x18]
test byte [ecx], al
add ecx, 0x1d8
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.00402090
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call fcn.00403a80
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x18]
mov byte [ecx + 0x88], 1
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x30]
cmp ecx, edx
jne 0x403a66
mov dword [esp], ecx
call fcn.00430cf0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0043d700
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x18]
test byte [eax], al
lea edi, [eax + 0x19c]
lea esi, [esp + 0x10]
call fcn.0045ed54
add esp, 0x34
ret
lea eax, [0x649d85]
mov dword [esp], eax
mov dword [esp + 4], 0x26
call fcn.00433c30
nop
int3
Function at 0x40b770
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40b941
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b79b
mov eax, 0x7000000
jmp 0x40b7a3
test eax, eax
je 0x40b91c
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x90]
mov ebx, dword [ecx + 0x94]
mov dword [ecx + 0x90], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x94], ebp
lea ecx, [ebp + ebx]
and ecx, 0x3ffffff
inc ecx
mov dword [esp], ecx
call fcn.0045e580
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0x7bf5e0]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40b934
cmp ecx, 0x21
jae 0x40b928
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004580c0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.00458190
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x69d6c0]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x69d790]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40b8f7
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x69d7e0]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, ecx
mov ecx, 0x21
call fcn.0045e660
mov eax, ecx
mov ecx, 0x21
call fcn.0045e740
nop
call fcn.0045d190
jmp fcn.0040b770
Function at 0x415060
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x415276
sub esp, 0x18
mov eax, dword [0x816b70]
test eax, eax
jne 0x41525f
nop
nop
lea eax, [0x816b58]
mov dword [esp], eax
call fcn.00409590
mov eax, dword [0x816b5c]
test eax, eax
je 0x4150aa
cmp dword [eax + 8], 0xcc
jne 0x415120
mov edx, dword [0x816b50]
test edx, edx
jne 0x415102
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x81b018]
mov dword [esp + 8], eax
call fcn.0040b950
mov eax, dword [esp + 0xc]
mov dword [0x816b50], eax
mov ecx, dword [0x816b0c]
mov dword [eax], ecx
mov eax, dword [0x816b50]
mov dword [0x816b0c], eax
movzx eax, byte [0x8170a0]
test al, al
jne 0x415102
xor eax, eax
jmp 0x41520b
mov edx, dword [0x816b50]
mov ebx, dword [edx + 4]
mov dword [0x816b50], ebx
mov ebx, dword [0x816b5c]
mov dword [edx + 4], ebx
mov dword [0x816b5c], edx
mov edx, dword [0x816b5c]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x4151f3
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00401fd0
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x816df0]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x41517e
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x41518b
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.0045e5d0
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x816df0]
test edx, edx
jne 0x4151b7
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
jmp 0x4151d8
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.0045e5d0
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.0045e5d0
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.0045e5d0
mov byte [0x816ab4], 1
nop
nop
lea eax, [0x816b58]
mov dword [esp], eax
call fcn.00409790
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.0045e660
lea esi, [0x8170a0]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x415102
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x415255
lea edx, [0x7b9164]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x4151fd
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.0045e650
mov ecx, 5
call fcn.0045e650
lea eax, [0x643d31]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00433c30
nop
call fcn.0045d190
jmp fcn.00415060
Function at 0x4251e0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x425350
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00423000
mov eax, dword [esp + 4]
test eax, eax
je 0x425339
mov dword [esp + 0xc], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x78]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp], eax
call fcn.00421210
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ebx, byte [edx + 6]
mov byte [esp + 0xb], bl
lea ebp, [ecx + 0x48]
mov dword [esp + 0x18], ebp
nop
mov dword [esp], ebp
call fcn.00409590
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x4c]
movzx edx, byte [esp + 0xb]
mov ebx, dword [esp + 0x10]
jmp 0x425277
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x4252dd
movzx esi, word [ebp + 4]
cmp esi, ebx
jne 0x42528c
cmp byte [ebp + 6], dl
je 0x425297
cmp esi, ebx
ja 0x4252dd
jne 0x425275
cmp byte [ebp + 6], dl
jbe 0x425275
jmp 0x4252dd
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409790
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x4252d4
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4252d4
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 0
add esp, 0x1c
ret
mov edx, dword [esp + 0x24]
mov word [edx + 4], bx
mov ebx, dword [ecx]
mov dword [edx], ebx
mov dword [ecx], edx
mov dword [esp], eax
call fcn.004250e0
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409790
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x425330
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x425330
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 1
add esp, 0x1c
ret
lea eax, [0x645edb]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00433c30
nop
call fcn.0045d190
jmp fcn.004251e0
Function at 0x425490
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x425683
sub esp, 0x28
nop
lea eax, [0x7fb130]
mov dword [esp], eax
call fcn.00409590
lea eax, [0x7fb0c4]
mov dword [esp], eax
call fcn.00415e30
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
nop
nop
lea ecx, [0x7fb130]
mov dword [esp], ecx
call fcn.00409790
mov eax, dword [esp + 0x24]
mov byte [eax + 6], 1
lea edi, [eax + 8]
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x4254fc
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
jmp 0x425509
mov ecx, eax
mov eax, dword [esp + 0x30]
call fcn.0045e5d0
mov eax, ecx
mov dword [esp + 0x20], edi
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x42552e
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x14], ecx
jmp 0x42554c
lea ecx, [eax + 0x10]
mov edi, ecx
mov ebx, eax
mov eax, dword [esp + 0x38]
call fcn.0045e5d0
lea edi, [ebx + 0x14]
mov eax, dword [esp + 0x3c]
call fcn.0045e5d0
mov eax, ebx
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004251e0
movzx eax, byte [esp + 8]
test al, al
je 0x425635
mov eax, dword [0x816b70]
test eax, eax
je 0x42562c
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00411310
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0xc]
nop
inc dword [ecx + 0x78]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x18], ecx
mov ebx, dword [ecx + 0x54]
test byte [ebx], al
test byte [eax], al
mov dword [esp], edx
lea eax, [ebx + 0xb84]
mov dword [esp + 0x1c], eax
mov dword [esp + 4], eax
call fcn.0041c0d0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 4
lea eax, [0x7b90e1]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.0041bfa0
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x42562c
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x42562c
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x40], 1
add esp, 0x28
ret
nop
nop
lea eax, [0x7fb130]
mov dword [esp], eax
call fcn.00409590
nop
mov eax, dword [0x7fb0dc]
sub eax, dword [0x7fb0c4]
mov dword [0x7fb0dc], eax
mov eax, dword [0x7fb0d0]
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov dword [0x7fb0d0], ecx
nop
nop
lea eax, [0x7fb130]
mov dword [esp], eax
call fcn.00409790
mov byte [esp + 0x40], 0
add esp, 0x28
ret
call fcn.0045d190
jmp fcn.00425490