joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4420a0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4420d3
push esi
call fcn.00450450
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4420cc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x442159
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x442142
mov eax, dword [esi + 8]
test eax, eax
je 0x4420f7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44213e
cmp eax, 2
je 0x442142
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4420ea
cmp eax, 3
je 0x44211d
cmp eax, 1
jne 0x4420ea
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4420ea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4420ea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00442180
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x442168
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00442180
add esp, 4
pop esi
ret

Function at 0x4429f0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x442a11
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x442a11
mov eax, dword [eax + 0x44]
test eax, eax
je 0x442a11
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4704d0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x470508
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046e584
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046e55c
jmp 0x470514
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x471bbe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x471c00
call fcn.00477677
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x471c00
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x471bf7
xor eax, eax
jmp 0x471c08
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00471c0e
pop edi
pop esi
pop ebx
ret 4
Function at 0x477ba7
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x477bd5
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x477bf3
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00477b0d
jmp 0x477bf3
mov eax, dword [esi + 0x14]
test eax, eax
je 0x477bf3
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00477b0d
test edi, edi
mov eax, edi
jne 0x477bdd
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x1327064f
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x41045a5
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401260
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push edi
mov edi, dword [ebp + 8]
push 0x64
push 0x4213e0
push 0x65
push edi
call esi
push 0x64
push 0x421378
push 0x66
push edi
call esi
mov ecx, edi
call fcn.00401380
push 0
push edi
push 0
push 0
push 0x283
push 0x269
push 0
push 0x80000000
push 0xcb0000
push 0x4213e0
push 0x421378
push 0
mov dword [0x4213dc], edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
je 0x401366
push dword [ebp + 0x14]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x9c41
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push 0
push eax
call esi
test eax, eax
je 0x401351
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
nop dword [eax]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x401340
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x401320
pop ebx
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404743
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00404743
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401bf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x58], ebx
call dword [sym.imp.USER32.dll_GetDialogBaseUnits]
movzx ecx, ax
shr eax, 0x10
push 0x28
shr ecx, 2
shr eax, 3
push 0x40
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
mov dword [ebp - 0x54], esi
test esi, esi
jne 0x401c5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x401d8c
movzx eax, ax
or eax, 0x80070000
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404743
mov esp, ebp
pop ebp
ret
push esi
push 0xffffffffffffffeb
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x3ec
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi], eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0x1307
mov dword [ebp - 0x50], 3
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x44], 0x41d708
push dword [esi]
call ebx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x44], 0x41d714
push eax
push 1
push 0x1307
push dword [esi]
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 5
push 0x6d
push 0
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
push dword [0x4213dc]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call esi
mov ecx, dword [ebp - 0x54]
push 5
push 0x6e
push 0
mov dword [ecx + 0x18], eax
call ebx
push eax
push dword [0x4213dc]
call edi
push eax
call esi
mov ebx, dword [ebp - 0x54]
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebx + 0x20], 0x403090
mov dword [ebx + 0x24], 0x404290
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x58]
call esi
lea eax, [ebp - 0x24]
push eax
push dword [ebx]
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x14]
push eax
push 1
push 0x1328
push dword [ebx]
call edi
mov eax, dword [ebp - 0x60]
sub dword [ebp - 8], eax
mov ecx, dword [ebp - 0x5c]
sub dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], ecx
push eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 0x14]
push eax
lea esi, [ebx + 8]
push esi
call dword [sym.imp.USER32.dll_CopyRect]
push esi
push 0
push 0x1328
push dword [ebx]
call edi
mov ecx, dword [ebp - 0x58]
call fcn.00401b40
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404743
mov esp, ebp
pop ebp
ret
Function at 0x4024d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x134], ecx
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x13c], edx
mov cl, 1
xor esi, esi
mov byte [ebp - 0x129], cl
cmp byte [edx], bl
je 0x402702
nop dword [eax + eax]
mov al, byte [edx + edi]
mov byte [ebp - 0x12a], al
cmp al, 0x80
jbe 0x402603
lea eax, [esi + 0x10]
cmp eax, 0x80
jle 0x402540
test cl, cl
je 0x4026c9
xor al, al
xor esi, esi
mov byte [ebp - 0x129], al
add ebx, 0x10
mov al, byte [edx + edi + 1]
mov byte [ebp - 0x12b], al
test al, al
je 0x4026ef
lea eax, [ebp - 0x128]
push str.hz16.hzk
push eax
call fcn.00401530
lea eax, [ebp - 0x128]
push 0x41d7fc
push eax
call fcn.004062a8
add esp, 0x10
mov dword [ebp - 0x130], eax
test eax, eax
je 0x4026dc
movzx ecx, byte [ebp - 0x12a]
imul edx, ecx, 0x5e
movzx ecx, byte [ebp - 0x12b]
add ecx, 0xffffc441
push 0
add ecx, edx
shl ecx, 5
push ecx
push eax
call fcn.004082b1
push dword [ebp - 0x130]
lea eax, [ebp - 0x24]
push 0x20
push 1
push eax
call fcn.00408498
push dword [ebp - 0x130]
call fcn.00406335
add esp, 0x20
lea eax, [ebp - 0x24]
mov edx, esi
push eax
push ecx
mov ecx, dword [ebp - 0x134]
push 0x10
push ebx
call fcn.00402410
add esi, 0x10
add esp, 0x10
cmp esi, 0x80
jl 0x4025fb
xor esi, esi
add ebx, 0x10
xor al, al
mov byte [ebp - 0x129], al
add edi, 2
jmp 0x4026b2
lea eax, [esi + 8]
mov dword [ebp - 0x138], eax
cmp eax, 0x80
jg 0x4026c9
lea eax, [ebp - 0x128]
push str.asc16.hzk
push eax
call fcn.00401530
lea eax, [ebp - 0x128]
push 0x41d7fc
push eax
call fcn.004062a8
add esp, 0x10
mov dword [ebp - 0x130], eax
test eax, eax
je 0x4026dc
movzx ecx, byte [ebp - 0x12a]
push 0
shl ecx, 4
push ecx
push eax
call fcn.004082b1
push dword [ebp - 0x130]
lea eax, [ebp - 0x24]
push 0x10
push 1
push eax
call fcn.00408498
push dword [ebp - 0x130]
call fcn.00406335
add esp, 0x20
lea eax, [ebp - 0x24]
mov edx, esi
push eax
push ecx
mov ecx, dword [ebp - 0x134]
push 8
push ebx
call fcn.00402410
mov esi, dword [ebp - 0x138]
add esp, 0x10
cmp esi, 0x80
jl 0x4026b1
xor esi, esi
add ebx, 0x10
xor al, al
mov byte [ebp - 0x129], al
inc edi
mov edx, dword [ebp - 0x13c]
cmp byte [edx + edi], 0
je 0x402702
mov cl, byte [ebp - 0x129]
jmp 0x402510
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404743
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov al, 3
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404743
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov al, 2
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404743
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404743
mov esp, ebp
pop ebp
ret
Function at 0x4040f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [0x41de44]
mov al, byte [0x41de5c]
push esi
movups xmmword [ebp - 0x20], xmm0
push 0x41de60
movq xmm0, qword [0x41de54]
push ecx
movq qword [ebp - 0x10], xmm0
mov byte [ebp - 8], al
call fcn.004062a8
mov esi, eax
add esp, 8
test esi, esi
jne 0x40414e
mov ecx, 0x41de64
call fcn.00401da0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404743
mov esp, ebp
pop ebp
ret
push esi
push 0x19
lea eax, [ebp - 0x20]
push 1
push eax
call fcn.00408d3c
push esi
call fcn.00406335
add esp, 0x14
mov ecx, 0x41de78
call fcn.00401da0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00404743
mov esp, ebp
pop ebp
ret

Function at 0x40da43
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040d8c2
Function at 0x6dd3e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x195000]
push edi
or ebp, 0xffffffff
jmp 0x6dd402
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6dd409
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6dd3f8
mov eax, 1
add ebx, ebx
jne 0x6dd41b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6dd42c
jne 0x6dd44b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6dd44b
dec eax
add ebx, ebx
jne 0x6dd438
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6dd410
add ebx, ebx
jne 0x6dd447
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6dd49d
xor ecx, ecx
sub eax, 3
jb 0x6dd463
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6dd4d2
sar eax, 1
mov ebp, eax
jmp 0x6dd46e
add ebx, ebx
jne 0x6dd46e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6dd43c
inc ecx
add ebx, ebx
jne 0x6dd47c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6dd43c
add ebx, ebx
jne 0x6dd489
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6dd47e
jne 0x6dd49a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6dd47e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6dd4bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6dd4ae
jmp 0x6dd3fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6dd4bc
add edi, ecx
jmp 0x6dd3fe
pop esi
mov edi, esi
mov ecx, 0x27bc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6dd4da
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x6dd4df
lea edi, [esi + 0x2db000]
mov eax, dword [edi]
or eax, eax
je 0x6dd550
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2dd704]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2dd740]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6dd505
mov ecx, edi
jns 0x6dd534
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 + 0x2dd744]
or eax, eax
je 0x6dd54a
mov dword [ebx], eax
add ebx, 4
jmp 0x6dd522
call dword [esi + 0x2dd754]
mov ebp, dword [esi + 0x2dd748]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1cf]
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 0x6dd584
sub esp, 0xffffff80
jmp 0x401270
Function at 0x406d10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x410
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x406d2e
push eax
call fcn.0046d75f
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x406d4e
push eax
call fcn.0046f3c8
mov eax, dword [esi + 4]
push eax
call fcn.0046d561
add esp, 8
mov dword [esi + 4], 0
push 0x208
lea ecx, [esp + 8]
push 0
push ecx
call fcn.0046efc0
push 0x208
lea edx, [esp + 0x21c]
push 0
push edx
call fcn.0046efc0
add esp, 0x18
lea eax, [esp + 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
rdtsc
lea ecx, [esp + 4]
push ecx
push eax
push 0x4899e4
lea edx, [esp + 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [esp + 4]
push eax
mov ecx, esi
call fcn.00406c90
lea ecx, [esp + 4]
push ecx
call fcn.0046fc5b
add esp, 4
mov dword [esi + 4], eax
pop esi
add esp, 0x410
ret
Function at 0x4074f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebx, ebx
jmp 0x407500
mov ecx, dword [esi + 0x7c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
call edx
test eax, eax
mov ecx, dword [esi + 0x7c]
jne 0x40752b
mov eax, dword [esi + 4]
mov edx, dword [ecx]
lea edi, [esp + 0x10]
push edi
push eax
mov eax, dword [edx + 0x28]
call eax
jmp 0x407544
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 4]
mov edi, dword [ecx]
lea ebp, [esp + 0x14]
push ebp
push eax
lea eax, [esp + 0x18]
push eax
push edx
mov edx, dword [edi + 0x2c]
call edx
test al, al
je 0x407666
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
cmp byte [esp + 0x54], bl
mov edi, eax
mov ecx, edi
je 0x407578
mov eax, dword [esi + 0x84]
sub eax, dword [esi + 0x88]
add eax, dword [esi + 0x80]
cmp edi, eax
jb 0x407578
mov ecx, eax
cmp ecx, ebx
jbe 0x407500
add dword [esi + 0x88], ecx
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
call edx
cmp eax, 2
je 0x4075f9
mov ecx, dword [esi + 0x7c]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
call edx
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], edx
mov edx, dword [esi + 0x74]
push ecx
push edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x1c]
push eax
call fcn.0040f690
add esp, 0xc
mov ecx, dword [esi + 0x7c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
call eax
test eax, eax
je 0x407500
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x10]
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x78]
push eax
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x1c]
push ecx
push edx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], edi
mov dword [esp + 0x58], ebx
call fcn.0040f690
add esp, 0xc
jmp 0x407500
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4
Function at 0x40af30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, dword [esp + 0x38]
push ebp
mov ebp, dword [esp + 0x40]
push esi
push edi
mov edi, ecx
test edi, edi
mov esi, eax
mov byte [esp + 0x48], 0
je 0x40af56
test esi, esi
je 0x40af56
mov dword [esp + 0x14], edi
jmp 0x40af70
push 0x40
call fcn.0046cfa3
add esp, 4
mov dword [esp + 0x14], eax
mov esi, 0x40
mov byte [esp + 0x48], 1
mov edi, eax
push esi
push 0
push edi
mov dword [esp + 0x1c], 0
call fcn.0046efc0
xor eax, eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.00443c10
shr ebp, 1
add esp, 0x18
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], ebp
mov esi, 0x25
xor ecx, ecx
mov edx, dword [esp + 0x40]
cmp edx, dword [ecx*4 + 0x4c01d0]
je 0x40afdd
add ecx, 1
cmp ecx, 0x10
jb 0x40afc3
mov ecx, 0xf
and ecx, 0xf
cmp dword [esp + 0x50], 0
mov ebp, ecx
jne 0x40afee
mov esi, 0x26
cmp ebx, 3
jne 0x40b006
mov ecx, 0xb
cmp dword [esp + 0x54], ecx
jne 0x40b03f
xor ebx, ebx
mov dword [esp + 0x10], ecx
jmp 0x40b03f
cmp ebx, 4
jne 0x40b024
mov ecx, dword [esp + 0x54]
cmp ecx, 0x33
je 0x40b01c
cmp ecx, 0x603
jne 0x40b03f
xor ebx, ebx
mov dword [esp + 0x10], ecx
jmp 0x40b03f
cmp ebx, 7
jne 0x40b035
mov ecx, dword [esp + 0x54]
xor ebx, ebx
mov dword [esp + 0x10], ecx
jmp 0x40b03f
cmp ebx, 8
jne 0x40b03f
mov ebx, 7
push ebx
push edx
push ebp
push esi
mov edi, eax
call fcn.0040aa70
mov edx, dword [esp + 0x5c]
push 3
mov esi, eax
mov eax, dword [esp + 0x58]
push edx
push eax
call fcn.00443d70
movzx ecx, al
mov eax, dword [esp + 0x60]
xor edx, edx
add esi, ecx
cmp dword [esp + 0x6c], edx
push 1
setne dl
push edx
push eax
call fcn.00443d70
mov edx, dword [esp + 0x6c]
push 1
movzx ecx, al
push 1
push edx
add esi, ecx
call fcn.00443d70
mov ecx, dword [esp + 0x78]
push 1
movzx eax, al
push 0
push ecx
add esi, eax
call fcn.00443d70
mov ecx, dword [esp + 0x84]
add esp, 0x40
movzx edx, al
mov eax, dword [esp + 0x18]
push 3
push eax
push ecx
add esi, edx
call fcn.00443d70
movzx edx, al
add esp, 0xc
add esi, edx
test ebx, ebx
jne 0x40b0db
mov eax, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x14]
mov ecx, ebp
call fcn.0040aa10
add esp, 4
add esi, eax
lea ecx, [esp + 0x44]
push ecx
call fcn.00443c50
add esp, 4
cmp byte [esp + 0x48], 0
je 0x40b0fc
mov edx, dword [esp + 0x14]
push edx
call fcn.0046e9f9
add esp, 4
lea eax, [esi + 7]
cdq
pop edi
and edx, 7
pop esi
add eax, edx
pop ebp
sar eax, 3
pop ebx
add esp, 0x2c
ret
Function at 0x42e167
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x42e17a
xor eax, eax
jmp 0x42e21d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
jmp 0x42e1b9
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x18]
jae 0x42e21b
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0042e117
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x42e219
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x42e21d
jmp 0x42e1b0
xor eax, eax
mov esp, ebp
pop ebp
ret