joyce8/EMBER2024-capa huggingface dataset:
Function at 0x633970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x70f568
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0xc]
push eax
call fcn.004fc8d0
push dword [esp + 0x44]
mov dword [esp + 0x3c], 0
push eax
call fcn.00633a10
push dword [esp + 0x2c]
fstp qword [esp + 0x10]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 0xc
cmp dword [esp + 0x20], 8
jb 0x6339e2
push dword [esp + 0xc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
fld qword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x38
ret

Function at 0x633d50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x70f5fb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x20]
lea ecx, [edi + 4]
mov dword [edi], eax
xor eax, eax
push 0xffffffffffffffff
push eax
push dword [esp + 0x2c]
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], 0
mov word [edi + 4], ax
call fcn.00419170
mov dword [edi + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], 0
mov eax, dword [ecx]
call dword [eax + 0x14]
mov dword [edi + 0x30], eax
xorps xmm0, xmm0
movq qword [edi + 0x24], xmm0
mov eax, edi
mov word [edi + 0x2c], 0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc

Function at 0x633e30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x70781b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x14], 0
test ecx, ecx
je 0x633e6e
mov eax, dword [ecx]
push 1
call dword [eax + 0x18]
push dword [esi + 0x1c]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esi + 0x18], 8
jb 0x633e8b
push dword [esi + 4]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x634d60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x70f783
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov dword [esi + 0x18], eax
mov dword [esi + 0x34], 7
mov dword [esi + 0x30], eax
mov word [esi + 0x20], ax
mov dword [esp + 0x14], eax
mov dword [esi + 0x38], eax
push dword [esp + 0x1c]
mov byte [esp + 0x18], 1
call fcn.006359c0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x637bc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x70fd29
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x7c]
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], ebx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
mov dword [ebx + 0x18], eax
mov ebp, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x20], 1
mov eax, ebp
mov dword [esp + 0x14], ecx
or eax, ecx
je 0x637c3a
mov eax, 1
jmp 0x637c3c
xor eax, eax
test al, al
je 0x637d64
push 0
push 0xa
push ecx
push ebp
call fcn.006d2b30
mov ecx, edx
mov dword [esp + 0x1c], eax
mov esi, eax
mov dword [esp + 0x18], ecx
mov edi, ecx
shld ecx, eax, 2
shl eax, 2
add esi, eax
mov eax, dword [esp + 0x14]
adc edi, ecx
shld edi, esi, 1
add esi, esi
sub ebp, esi
sbb eax, edi
cmp dword [0x82e960], 0
je 0x637cba
test eax, eax
jne 0x637c88
cmp ebp, 0xffffffff
jbe 0x637cba
push str.wxULongLong_to_long_conversion_loss_of_precision
push str.m_ll___ULONG_MAX
push str.wxULongLongNative::ToULong
push 0x197
push str.C:SourceSvn_trunk_tools_sourcewxWidgets_3.0includewx_longlong.h
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x637cba
mov byte [0x87c8e0], 0
int3
mov dword [esp + 0x3c], 7
mov dword [esp + 0x40], 0
lea eax, [ebp + 0x30]
mov dword [esp + 0x38], 1
movzx eax, ax
mov word [esp + 0x28], ax
xor eax, eax
mov word [esp + 0x2a], ax
push ebx
lea eax, [esp + 0x2c]
mov dword [esp + 0x78], 3
push eax
lea eax, [esp + 0x50]
push eax
call fcn.005c7b10
add esp, 0xc
mov byte [esp + 0x74], 4
cmp ebx, eax
je 0x637d14
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00419170
push dword [esp + 0x60]
mov esi, dword [sym.imp.MSVCR120.dll_free]
call esi
add esp, 4
cmp dword [esp + 0x5c], 8
jb 0x637d36
push dword [esp + 0x48]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0x40]
mov byte [esp + 0x78], 0
call esi
add esp, 4
cmp dword [esp + 0x3c], 8
jb 0x637d57
push dword [esp + 0x28]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
jmp 0x637c29
cmp dword [ebx + 0x10], 0
jne 0x637da8
cmp dword [ebx + 0x14], 1
jae 0x637d7b
push 0
push 1
mov ecx, ebx
call fcn.00419b80
cmp dword [ebx + 0x14], 8
jb 0x637d85
mov eax, dword [ebx]
jmp 0x637d87
mov eax, ebx
mov ecx, 0x30
mov word [eax], cx
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], 1
jb 0x637da0
mov eax, dword [ebx]
jmp 0x637da2
mov eax, ebx
xor ecx, ecx
mov word [eax + 2], cx
mov eax, ebx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x64
ret 4
Function at 0x63de10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x710151
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x20]
lea ecx, [edi + 0x18]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0x10], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [edi], 1
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
push eax
push dword [esp + 0x30]
mov dword [edi + 0x2c], 7
mov dword [edi + 0x28], 0
mov word [edi + 0x18], ax
call fcn.00419170
mov dword [edi + 0x30], 0
xor eax, eax
mov dword [edi + 0x4c], 7
mov dword [edi + 0x48], 0
mov word [edi + 0x38], ax
mov dword [esp + 0x18], 0
mov dword [edi + 0x50], eax
mov dword [edi + 0x70], 7
mov dword [edi + 0x6c], eax
mov word [edi + 0x5c], ax
mov dword [edi + 0x74], eax
mov dword [edi + 0x58], eax
mov ecx, dword [edi + 4]
mov dword [edi + 0x80], eax
mov dword [edi + 0x84], eax
mov byte [esp + 0x18], 2
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
mov ecx, eax
test edx, edx
jl 0x63defd
jg 0x63dee6
test ecx, ecx
jb 0x63defd
add eax, 1
adc edx, 0
test edx, edx
jg 0x63defd
jl 0x63def7
cmp eax, dword [edi + 0x10]
jae 0x63defd
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x10]
test eax, eax
je 0x63df10
push eax
call fcn.006cff38
add esp, 4
mov dword [edi + 0xc], eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x645470
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x710f72
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov esi, dword [esp + 0xc4]
mov eax, dword [esp + 0xcc]
mov edi, dword [esp + 0xc8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov dword [esp + 0x14], esi
mov dword [esi + 0x18], eax
movdqu xmm0, xmmword [edi]
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xc]
push eax
movdqu xmmword [esp + 0x1c], xmm0
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], 1
movdqu xmm0, xmmword [edi + 0x10]
push eax
movdqu xmmword [esp + 0x30], xmm0
movdqu xmm0, xmmword [edi + 0x20]
movdqu xmmword [esp + 0x40], xmm0
movdqu xmm0, xmmword [edi + 0x30]
movdqu xmmword [esp + 0x50], xmm0
movdqu xmm0, xmmword [edi + 0x40]
movdqu xmmword [esp + 0x60], xmm0
movq xmm0, qword [edi + 0x50]
movq qword [esp + 0x70], xmm0
call fcn.00644980
add esp, 8
cmp eax, 0xb
je 0x6455ac
cmp eax, 0x10
jne 0x645605
lea eax, [esp + 0x18]
push eax
call fcn.00645aa0
add esp, 4
test eax, eax
je 0x645605
push dword [esp + 0xc]
push 0
push dword [edi + 0x1c]
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.00644ca0
add esp, 0x14
mov dword [esp + 0xbc], 2
cmp esi, eax
je 0x64559e
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00419170
lea ecx, [esp + 0x90]
call fcn.00418210
jmp 0x645605
push 0
push dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.00645630
add esp, 0x10
mov dword [esp + 0xbc], 1
cmp esi, eax
je 0x6455df
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00419170
push dword [esp + 0x88]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esp + 0x84], 8
jb 0x645605
push dword [esp + 0x70]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.006d1ba7
add esp, 0xb4
ret
Function at 0x645be0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x711028
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, dword [esp + 0x50]
call fcn.005c92f0
mov dword [esp + 8], eax
mov dword [esp + 0x48], 0
call fcn.005c92f0
mov dword [esp + 0xc], eax
push 0xffffffffffffffff
lea eax, [esp + 0x14]
mov byte [esp + 0x4c], 1
push str.dbghelp:__s___failed:__s_r_n
push eax
call fcn.00439000
add esp, 0xc
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x48], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005e5210
push eax
push esi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.006441f0
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x645c86
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [esp + 0x34]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esp + 0x30], 8
jb 0x645cad
push dword [esp + 0x1c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov dword [esp + 0x48], 0xffffffff
call fcn.00420020
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x44
ret
Function at 0x653330
Capabilities:
Delete registry key
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x84]
call fcn.005f8ca0
lea ecx, [esi + 0xec]
call fcn.005f8ca0
lea ecx, [esi + 0x50]
call fcn.005fa3b0
test al, al
je 0x65336a
cmp dword [esi + 0xb8], 0
lea ecx, [esi + 0xb8]
je 0x65336a
pop esi
jmp fcn.005fa3b0
pop esi
ret

Function at 0x655e60
Capabilities:
Encode data using base64

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x655f70
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x14]
push edi
xor edi, edi
cmp ebx, 3
jb 0x655ef5
add edi, 4
test eax, eax
je 0x655eea
cmp edi, ebp
ja 0x655f04
movzx ecx, byte [esi]
shr ecx, 2
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
movzx edx, byte [esi]
movzx ecx, byte [esi + 1]
and edx, 3
shr ecx, 4
shl edx, 4
or edx, ecx
movzx ecx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], cl
movzx edx, byte [esi + 1]
movzx ecx, byte [esi + 2]
and edx, 0xf
shr ecx, 6
shl edx, 2
or edx, ecx
movzx ecx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 2], cl
movzx ecx, byte [esi + 2]
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 3], cl
add eax, 4
sub ebx, 3
add esi, 3
cmp ebx, 3
jae 0x655e83
test ebx, ebx
je 0x655f69
add edi, 4
test eax, eax
je 0x655f69
cmp edi, ebp
jbe 0x655f0c
pop edi
pop ebp
pop ebx
or eax, 0xffffffff
pop esi
ret
cmp ebx, 2
jne 0x655f16
mov dl, byte [esi + 1]
jmp 0x655f18
xor dl, dl
movzx ecx, byte [esi]
shr ecx, 2
movzx ebp, dl
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
mov ecx, ebp
movzx edx, byte [esi]
and edx, 3
shr ecx, 4
shl edx, 4
or edx, ecx
movzx ecx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], cl
cmp ebx, 2
jne 0x655f61
and ebp, 0xf
mov cl, byte [ebp*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 2], cl
mov byte [eax + 3], 0x3d
mov eax, edi
pop edi
pop ebp
pop ebx
pop esi
ret
mov cl, 0x3d
mov byte [eax + 2], cl
mov byte [eax + 3], cl
mov eax, edi
pop edi
pop ebp
pop ebx
pop esi
ret
cmp dword [0x82e960], 0
je 0x655fa8
push str.NULL_input_buffer
push str.src_
push str.wxBase64Encode
push 0x16
push str....._srccommon_base64.cpp
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x655fa8
mov byte [0x87c8e0], 0
int3
or eax, 0xffffffff
pop esi
ret
Function at 0x656a80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6e7060
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x54]
call fcn.005c92f0
mov dword [esp + 0xc], eax
mov dword [esp + 0x4c], 0
call fcn.005c92f0
mov dword [esp + 0x10], eax
push 0xffffffffffffffff
lea eax, [esp + 0x18]
mov byte [esp + 0x50], 1
push 0x78e744
push eax
call fcn.00439000
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push esi
lea eax, [esp + 0x1c]
mov dword [esp + 0x5c], 2
push eax
lea eax, [esp + 0x34]
push eax
call fcn.005c3ac0
add esp, 0x18
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
mov byte [esp + 0x58], 3
call fcn.0041aea0
push dword [esp + 0x38]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esp + 0x34], 8
jb 0x656b42
push dword [esp + 0x20]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov dword [esp + 0x4c], 0xffffffff
call fcn.00420020
mov eax, edi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x44
ret 4

Function at 0x656b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x713138
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x80]
xor ecx, ecx
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], cx
mov dword [esp + 0x24], ecx
push 0xffffffffffffffff
push ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x44], ecx
mov word [esp + 0x34], cx
lea ecx, [esp + 0x34]
push eax
mov dword [esp + 0x4c], 7
call fcn.00419170
mov dword [esp + 0x44], 0
xor eax, eax
mov byte [esp + 0x78], 1
push 0xffffffffffffffff
push eax
mov word [esp + 0x54], ax
lea ecx, [esp + 0x54]
lea eax, [esp + 0x14]
mov dword [esp + 0x68], 7
push eax
mov dword [esp + 0x68], 0
call fcn.00419170
mov dword [esp + 0x64], 0
lea eax, [esp + 0xb]
mov byte [esp + 0x78], 2
push eax
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.006588c0
lea ecx, [esp + 0x2c]
lea esi, [eax + 0x24]
call fcn.004db4b0
push dword [esp + 0x24]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esp + 0x20], 8
jb 0x656c87
push dword [esp + 0xc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x74
ret 4
Function at 0x6630f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7144d8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push dword [esp + 0x34]
mov eax, dword [ecx + 0x1e8]
lea edi, [ecx + 0x1e8]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov dword [esp + 0x28], 0
mov dword [esp + 0xc], 0
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
mov dword [esp + 0x10], vtable.wxBitmap.0
call fcn.00486ad0
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
mov dword [esp + 0x10], vtable.wxObject.0
call fcn.005bde00
push dword [esp + 0x34]
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.006635b0
mov ecx, dword [esp + 0x30]
push 1
push dword [eax + 4]
mov ecx, dword [ecx + 8]
push dword [eax]
lea eax, [esp + 0x14]
push eax
mov edx, dword [ecx]
call dword [edx + 0x16c]
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.00418250
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x24
ret 8

Function at 0x664160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7032f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push dword [esp + 0x40]
lea ecx, [esp + 0x10]
call fcn.0060c780
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.0060cd60
test al, al
jne 0x6641ad
xor bl, bl
jmp 0x6641c1
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push dword [esp + 0x44]
push ecx
mov eax, dword [eax + 0x28]
mov ecx, esi
call eax
mov bl, al
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.0060ca20
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret 8
Function at 0x68d610
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x68d642
push esi
call fcn.00691610
add esp, 4
cmp dword [esi + 0x40], 0
je 0x68d63b
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
push edi
cmp eax, 0xcb
jne 0x68d6cf
mov eax, dword [esi + 0x1b4]
cmp dword [eax + 0x10], 0
je 0x68d6b7
lea ecx, [ecx]
mov eax, dword [esi + 8]
test eax, eax
je 0x68d66f
mov eax, dword [eax]
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x1b4]
push esi
mov eax, dword [eax]
call eax
add esp, 4
test eax, eax
je 0x68d6b2
cmp eax, 2
je 0x68d6b7
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x68d660
cmp eax, 3
je 0x68d697
cmp eax, 1
jne 0x68d660
inc dword [ecx + 4]
mov edx, dword [esi + 8]
mov edi, dword [edx + 8]
cmp dword [ecx + 4], edi
jl 0x68d660
mov eax, dword [esi + 0x140]
add eax, edi
mov dword [edx + 8], eax
jmp 0x68d660
pop edi
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0068d700
add esp, 4
pop edi
pop esi
ret
cmp eax, 0xcc
je 0x68d6f1
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x14
mov ecx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [esi]
mov eax, dword [eax]
call eax
add esp, 4
push esi
call fcn.0068d700
add esp, 4
pop edi
pop esi
ret

Function at 0x68d700
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
cmp dword [esi + 0x14], 0xcc
je 0x68d72f
mov eax, dword [esi + 0x1a4]
push esi
mov eax, dword [eax]
call eax
add esp, 4
mov dword [esi + 0x8c], 0
mov dword [esi + 0x14], 0xcc
mov eax, dword [esi + 0x1a4]
cmp dword [eax + 8], 0
je 0x68d7b3
lea ebx, [esi + 0x8c]
mov eax, dword [ebx]
cmp eax, dword [esi + 0x74]
jae 0x68d787
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x68d766
mov dword [ecx + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x74]
push esi
mov dword [ecx + 8], eax
mov eax, dword [esi + 8]
mov eax, dword [eax]
call eax
add esp, 4
mov eax, dword [esi + 0x1a8]
mov edi, dword [ebx]
push 0
push ebx
mov eax, dword [eax + 4]
push 0
push esi
call eax
mov eax, dword [ebx]
add esp, 0x10
cmp eax, edi
je 0x68d7cc
cmp eax, dword [esi + 0x74]
jb 0x68d748
mov eax, dword [esi + 0x1a4]
push esi
mov eax, dword [eax + 4]
call eax
mov eax, dword [esi + 0x1a4]
push esi
mov eax, dword [eax]
call eax
mov dword [ebx], 0
add esp, 8
mov eax, dword [esi + 0x1a4]
cmp dword [eax + 8], 0
jne 0x68d741
xor eax, eax
cmp dword [esi + 0x44], eax
pop edi
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov eax, 1
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x6909e0
Capabilities:
Query environment variable

Disassembly:
push ecx
push esi
push edi
mov edi, dword [esp + 0x10]
push edi
mov dword [edi + 4], 0
call fcn.00418360
push 0x54
push edi
mov dword [esp + 0x14], eax
call fcn.00691e30
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x690a27
push edi
call fcn.00417cc0
mov ecx, dword [edi]
push edi
mov dword [ecx + 0x14], 0x36
mov ecx, dword [edi]
mov dword [ecx + 0x18], esi
mov eax, dword [edi]
mov eax, dword [eax]
call eax
add esp, 8
mov dword [esi], fcn.00690670
mov dword [esi + 4], fcn.006904f0
mov dword [esi + 8], fcn.006905c0
mov dword [esi + 0xc], fcn.00690440
mov dword [esi + 0x10], 0x690d40
mov dword [esi + 0x14], 0x690cc0
mov dword [esi + 0x18], 0x690b10
mov dword [esi + 0x1c], 0x6902f0
mov dword [esi + 0x20], 0x6901a0
mov dword [esi + 0x24], 0x6908d0
mov dword [esi + 0x28], 0x690dc0
mov dword [esi + 0x30], 0x3b9aca00
mov eax, dword [esp + 8]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x38], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0x54
push str.JPEGMEM
mov dword [edi + 4], esi
call dword [sym.imp.MSVCR120.dll_getenv]
add esp, 4
test eax, eax
je 0x690b0a
lea ecx, [esp + 0x10]
mov byte [esp + 0x10], 0x78
push ecx
lea ecx, [esp + 0xc]
push ecx
push str._ld_c
push eax
call dword [sym.imp.MSVCR120.dll_sscanf]
add esp, 0x10
test eax, eax
jle 0x690b0a
mov al, byte [esp + 0x10]
cmp al, 0x6d
je 0x690af9
cmp al, 0x4d
mov eax, dword [esp + 8]
jne 0x690b01
imul eax, dword [esp + 8], 0x3e8
imul eax, eax, 0x3e8
mov dword [esi + 0x2c], eax
pop edi
pop esi
pop ecx
ret