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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
push edi
and word [ebp - 0x19c], 0
push 4
lea edi, [ebp - 0x19a]
pop eax
and dword [ebp - 4], 0
push 0x63
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
pop ecx
push dword [ebp + 8]
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones_d
lea eax, [ebp - 0x19c]
push 0xc8
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x19c]
push str.2500
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
pop edi
jne 0x4146a3
cmp dword [ebp - 4], eax
je 0x4146a3
leave
ret
push 1
pop eax
leave
ret
Function at 0x4f6000
Capabilities:
Check for peb beingdebugged flag
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov byte [ebp - 1], 0
mov dword [ebp - 8], 0
call dword [0x5c6cac]
cmp eax, 1
jne 0x4f6024
push 0
call dword [fcn.005c6cb0]
mov eax, dword fs:[0x30]
mov al, byte [eax + 2]
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
test al, al
je 0x4f603f
push 0
call dword [fcn.005c6cb0]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x68]
mov dword [ebp - 8], eax
test byte [ebp - 8], 0x70
je 0x4f6059
push 0
call dword [fcn.005c6cb0]
mov esp, ebp
pop ebp
ret

Function at 0x4f6060
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
lea eax, [0x4f60a2]
lea ecx, [0x4f60aa]
sub ecx, eax
mov dword [ebp - 4], ecx
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4f60c6
mov edi, dword [ebp + 8]
lea esi, [0x4f60a2]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
jmp 0x4f60c1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f60d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov cl, 0x65
mov al, 0x6d
mov byte [ebp - 0xa], cl
mov byte [ebp - 9], al
mov byte [ebp - 8], al
mov byte [ebp - 6], cl
mov byte [ebp - 5], al
mov byte [ebp - 4], al
mov cl, 0x6a
mov al, 0x66
push esi
mov dl, 0x75
push edi
mov byte [ebp - 0x1c], cl
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x16], al
mov byte [ebp - 0x13], al
mov byte [ebp - 0x10], cl
mov byte [ebp - 0xb], dl
mov byte [ebp - 0x17], dl
lea edi, [ebp - 0xc]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 7], 0x2f
mov byte [ebp - 3], 0
xor edx, edx
mov byte [ebp - 0x20], 0x45
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp - 0x1f], 0x63
mov byte [ebp - 0x1e], 0x68
mov byte [ebp - 0x1d], 0x56
mov byte [ebp - 0x1b], 0x53
mov byte [ebp - 0x19], 0x6e
mov byte [ebp - 0x18], 0x70
mov byte [ebp - 0x15], 0x43
mov byte [ebp - 0x14], 0x73
mov byte [ebp - 0x12], 0x62
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0xf], 0x6f
mov byte [ebp - 0xe], 0
je 0x4f6176
mov cl, byte [ebp + edx - 0xc]
lea edi, [ebp - 0xc]
dec cl
xor eax, eax
mov byte [ebp + edx - 0xc], cl
or ecx, 0xffffffff
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x4f615a
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x4f618c
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea edi, [ebp - 0x20]
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4f61b9
mov al, byte [ebp + edx - 0x20]
lea edi, [ebp - 0x20]
dec al
or ecx, 0xffffffff
mov byte [ebp + edx - 0x20], al
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x4f619d
lea ecx, [ebp - 0x20]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4f61d1
push eax
call fcn.004f6060
add esp, 4
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4f6640
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push edi
call fcn.004fd050
mov ebx, dword [0x5c6c98]
mov ecx, dword [0x5010a4]
mov eax, ebx
sub eax, ecx
jne 0x4f6742
mov edi, dword [0x501bd6]
test edi, edi
je 0x4f6742
cmp word [ebx], 0x5a4d
je 0x4f6691
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.004f7d10
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
je 0x4f66b4
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.004f7d10
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov cx, word [eax + 6]
xor edx, edx
mov dx, word [eax + 0x14]
test cx, cx
lea eax, [edx + eax + 0x18]
jbe 0x4f66d7
and ecx, 0xffff
mov edx, eax
add eax, 0x28
dec ecx
jne 0x4f66cd
jmp 0x4f66da
mov edx, dword [ebp - 4]
push esi
mov esi, dword [edx + 0xc]
push 0x10
lea eax, [ebp - 0xf4]
push 0x501bc6
push eax
add esi, ebx
call fcn.00500450
push edi
lea ecx, [ebp - 0xf4]
push esi
push ecx
call fcn.005006b0
lea edx, [ebp - 0xf4]
lea eax, [ebp - 0x24]
push edx
push eax
call fcn.005006d0
push 0x20
lea ecx, [ebp - 0x24]
push 0x501ba6
push ecx
call fcn.004f7800
add esp, 0x2c
test eax, eax
pop esi
je 0x4f6742
push 0xc76
push 0
push 0x501080
call fcn.004f77b0
add esp, 0xc
call fcn.004f7d10
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f9b60
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x5c6fec]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
xor edi, edi
cmp eax, edi
je 0x4f9b7c
push eax
call esi
mov dword [0x5c6fec], edi
mov eax, dword [0x5c6fe8]
cmp eax, edi
je 0x4f9b9f
push edi
push eax
mov dword [0x5c7088], 1
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x5c6fe8]
push eax
call esi
mov eax, dword [0x5c6fe4]
cmp eax, edi
je 0x4f9bb4
push eax
call fcn.00500cc0
mov dword [0x5c6fe4], edi
mov eax, dword [0x5c70a4]
cmp eax, edi
je 0x4f9bcc
push eax
call fcn.004fdb90
add esp, 4
mov dword [0x5c70a4], edi
mov eax, dword [0x5c70a8]
cmp eax, edi
je 0x4f9bea
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [0x5c70a8], edi
pop edi
pop esi
ret
Function at 0x4fd070
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push esi
push edi
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x3ff]
mov byte [ebp - 0x400], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x1ff]
mov byte [ebp - 0x200], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x4fd0c1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x400]
push 0x200
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x400]
push 0x5c
push edx
call fcn.004f7840
add esp, 8
test eax, eax
jne 0x4fd0f4
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
mov byte [eax], 0
lea eax, [ebp - 0x200]
push 0x200
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x200]
push 0x5c
push ecx
call fcn.004f7840
mov esi, eax
add esp, 8
test esi, esi
jne 0x4fd12b
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x200]
push 0x502a74
push edx
mov byte [esi], 0
call fcn.004f7980
lea eax, [ebp - 0x400]
lea ecx, [ebp - 0x200]
push eax
push ecx
call fcn.004f7a20
add esp, 0x10
test eax, eax
jne 0x4fd15f
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x200]
push 0x502a68
push edx
mov byte [esi], 0
call fcn.004f7980
lea eax, [ebp - 0x400]
lea ecx, [ebp - 0x200]
push eax
push ecx
call fcn.004f7a20
add esp, 0x10
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404da0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 8]
test eax, eax
je 0x404db3
mov ecx, dword [esp + 4]
push eax
call fcn.00466403
ret
mov ecx, dword [esp + 4]
jmp fcn.00466205
Function at 0x412ae0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [ecx], 0x59babc
jmp fcn.0046832d

Function at 0x414190
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xd4
push ebx
push ebp
push esi
xor esi, esi
push edi
push esi
push esi
push 0x3e9
mov dword [esp + 0x38], 0x64
mov dword [esp + 0x24], esi
call fcn.00416770
mov ebp, eax
push esi
mov ebx, dword [esp + 0xec]
push esi
mov dword [esp + 0x58], ebp
lea edi, [ebx + 0x14]
mov ecx, edi
mov dword [esp + 0x1c], edi
call fcn.00411330
cmp eax, esi
je 0x41472a
cmp dword [esp + 0xec], esi
jne 0x414223
lea esi, [eax + 0x18]
push esi
call fcn.00404910
add esi, eax
push esi
call fcn.00404910
add esi, eax
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x414221
mov eax, dword [esi + 0x1c]
push eax
call dword [0x478408]
test eax, eax
je 0x414221
mov eax, dword [esi + 0x1b4]
test eax, eax
je 0x414236
push 0
push 0
mov ecx, esi
call fcn.0041a840
xor esi, esi
cmp dword [esp + 0xf4], 1
jne 0x414281
mov dword [esp + 0xf8], esi
jmp 0x41429b
mov ecx, dword [esi + 0x1c]
push ecx
call dword [0x478624]
test eax, eax
je 0x41425f
push 9
mov ecx, esi
call fcn.0046a6d9
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xd4
ret 0x14
mov edx, dword [esi + 0x1c]
push edx
call dword [0x47846c]
push eax
call fcn.00467c9f
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xd4
ret 0x14
mov eax, dword [esp + 0xf8]
cmp eax, esi
je 0x41429b
push eax
call dword [0x478408]
test eax, eax
je 0x41472a
push esi
push esi
push 0x7d9
call fcn.00416770
lea ecx, [ebx + 0x34]
push edi
mov dword [esp + 0x24], ecx
call fcn.004112c0
push ebx
mov ecx, ebp
call fcn.004117a0
cmp eax, esi
mov dword [esp + 0x4c], eax
je 0x41472a
lea eax, [esp + 0xb4]
mov ecx, edi
push eax
mov dword [esp + 0xa0], esi
mov dword [esp + 0x14], esi
call fcn.00411e00
cmp eax, esi
mov dword [esp + 0x28], esi
jle 0x414311
mov edx, dword [esp + 0xb4]
lea ecx, [esp + 0x28]
push esi
push ecx
push esi
push 0xffffffffffffffff
push eax
push esi
push edx
mov ecx, edi
call fcn.00411330
push eax
call fcn.00421fb0
add esp, 0x18
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x54]
call fcn.00403ec0
mov esi, 0x599c64
lea ecx, [esp + 0x7c]
mov dword [esp + 0x54], esi
call fcn.00403ec0
lea ecx, [esp + 0x68]
mov dword [esp + 0x7c], esi
call fcn.00403ec0
lea ecx, [esp + 0x34]
mov dword [esp + 0x68], esi
call fcn.00403ec0
mov esi, dword [ebx + 0x18]
mov ebx, esi
mov dword [esp + 0x30], esi
test esi, esi
mov dword [esp + 0x1c], ebx
jle 0x414619
Function at 0x415760
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [ecx + 0x1d4], 0
add ecx, 0x1d8
jmp fcn.00466205
Function at 0x41f8a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5c89d0]
xor edx, edx
cmp eax, edx
jne 0x41f8c6
xor eax, eax
mov byte [eax + 0x5c88d0], al
inc eax
cmp eax, 0x100
jl 0x41f8ae
mov dword [0x5c89d0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5c88d0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41f957
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x41f92a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x41f8f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4225a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5c89d0]
xor edx, edx
cmp eax, edx
jne 0x4225c6
xor eax, eax
mov byte [eax + 0x5c88d0], al
inc eax
cmp eax, 0x100
jl 0x4225ae
mov dword [0x5c89d0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5c88d0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x422657
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x42262a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and al, 0x10
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4225f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4226d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x422723
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x42270a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42be60
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x42bff8
cmp ebp, ebx
jle 0x42bff8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x42bebe
dec eax
or eax, 0xfffffff8
inc eax
je 0x42bec5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x42bed4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42bedb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0046b9bb
add esp, 4
cmp eax, ebx
je 0x42befc
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
imul ecx, dword [eax], 0xffffff89
inc ebx
adc al, 0xe8
mov eax, dword [0x8b0003fa]
dec ebx
adc al, 0x8b
clc
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x42bfee
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x42bfd5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x42bfc1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x42bfb6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x42bfc4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x42bfc4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x42bf60
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x42bf51
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret

Function at 0x42f0c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x42f2e1
cmp eax, 8
jg 0x42f2e1
cmp dword [esp + 0x8c], 2
jl 0x42f2e1
mov eax, dword [esp + 0x7c]
Function at 0x42f0f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and al, 0x7c
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x42f2e1
add dword [eax], eax
invalid
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x42f2e1
mov eax, dword [esp + 0x80]
test eax, eax
je 0x42f147
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x42f2ca
mov ebp, dword [0x478488]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x42f179
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x42f2b1
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x42f199
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [0x478498]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x42f1d8
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x478494]
lea ecx, [esp + 0x28]
push ecx
call dword [0x478454]
test eax, eax
jne 0x42f298
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.0042e6d0
cmp eax, 1
jne 0x42f2c2
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.0042ef80
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x42f18d
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x42f2ca
jmp 0x42f164
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.0042e2d0
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c
Function at 0x42f110
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and al, 0x7c
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x42f2e1
add dword [eax], eax
invalid
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x42f2e1
mov eax, dword [esp + 0x80]
test eax, eax
je 0x42f147
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x42f2ca
mov ebp, dword [0x478488]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x42f179
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x42f2b1
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x42f199
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [0x478498]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x42f1d8
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x478494]
lea ecx, [esp + 0x28]
push ecx
call dword [0x478454]
test eax, eax
jne 0x42f298
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.0042e6d0
cmp eax, 1
jne 0x42f2c2
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.0042ef80
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x42f18d
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x42f2ca
jmp 0x42f164
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.0042e2d0
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c