joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402e4b
Capabilities:
Create pipe
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1004
call fcn.00408960
mov eax, dword [0x244ece4]
mov ecx, dword [0x244e774]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x402f27
mov edi, ecx
mov ebx, eax
cmp dword [0x244ece4], 0x959
jne 0x402f17
push esi
lea eax, [esp + 0x414]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push 0x402a20
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
lea eax, [esp + 0x814]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
call fcn.00402c17
add edi, 8
dec ebx
jne 0x402e7a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405779
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
mov edi, edi
push edi
push 0x401ca8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
jne 0x405716
call fcn.00405446
xor eax, eax
pop edi
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401ce4
push edi
call esi
push 0x401cd8
push edi
mov dword [0x43c070], eax
call esi
push 0x401ccc
push edi
mov dword [0x43c074], eax
call esi
push 0x401cc4
push edi
mov dword [0x43c078], eax
call esi
cmp dword [0x43c070], 0
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0x43c07c], eax
je 0x405776
cmp dword [0x43c074], 0
je 0x405776
cmp dword [0x43c078], 0
je 0x405776
test eax, eax
jne 0x40579a
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [0x43c074], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x43c070], 0x405409
mov dword [0x43c078], esi
mov dword [0x43c07c], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x436564], eax
cmp eax, 0xffffffff
je 0x40586f
push dword [0x43c074]
push eax
call esi
test eax, eax
je 0x40586f
call fcn.00403c73
push dword [0x43c070]
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
call esi
push dword [0x43c074]
mov dword [0x43c070], eax
call esi
push dword [0x43c078]
mov dword [0x43c074], eax
call esi
push dword [0x43c07c]
mov dword [0x43c078], eax
call esi
mov dword [0x43c07c], eax
call fcn.00404fe6
test eax, eax
je 0x40586a
mov edi, dword [sym.imp.KERNEL32.dll_DecodePointer]
push 0x4055ca
push dword [0x43c070]
call edi
call eax
mov dword [0x436560], eax
cmp eax, 0xffffffff
je 0x40586a
push 0x214
push 1
call fcn.00406164
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x40586a
push esi
push dword [0x436560]
push dword [0x43c078]
call edi
call eax
test eax, eax
je 0x40586a
push 0
push esi
call fcn.00405483
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
xor eax, eax
inc eax
jmp 0x405871
call fcn.00405446
xor eax, eax
pop esi
pop edi
ret

Function at 0x406e14
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x436590]
jne 0x406e1e
repz ret
jmp fcn.0040898b
Function at 0x40709b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x436590]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405400
and dword [ebp - 0x14], 0
cmp dword [0x43c290], 0
mov dword [ebp - 0x18], eax
jne 0x40714e
push 0x401df8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4071f6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401dec
push ebx
call edi
test eax, eax
je 0x4071f6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x401ddc
push ebx
mov dword [0x43c290], eax
call edi
push eax
call esi
push 0x401dc8
push ebx
mov dword [0x43c294], eax
call edi
push eax
call esi
push 0x401dac
push ebx
mov dword [0x43c298], eax
call edi
push eax
call esi
mov dword [0x43c2a0], eax
test eax, eax
je 0x40714e
push 0x401d94
push ebx
call edi
push eax
call esi
mov dword [0x43c29c], eax
mov eax, dword [0x43c29c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4071a7
cmp dword [0x43c2a0], ecx
je 0x4071a7
push eax
call esi
push dword [0x43c2a0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4071a7
test ebx, ebx
je 0x4071a7
call edi
test eax, eax
je 0x40719e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40719e
test byte [ebp - 8], 1
jne 0x4071a7
or dword [ebp + 0x10], 0x200000
jmp 0x4071da
mov eax, dword [0x43c294]
cmp eax, dword [ebp - 0x18]
je 0x4071da
push eax
call esi
test eax, eax
je 0x4071da
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4071da
mov eax, dword [0x43c298]
cmp eax, dword [ebp - 0x18]
je 0x4071da
push eax
call esi
test eax, eax
je 0x4071da
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43c290]
call esi
test eax, eax
je 0x4071f6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4071f8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406e14
leave
ret
Function at 0x404ce0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x404cf9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404d34
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x404d30
lea ebx, [ebx]
cmp esi, eax
jae 0x404d34
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x404d20
cmp esi, eax
jb 0x404d3a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40bf80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49da6d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4cd57c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CZ_NetzSeite.0
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], 4
test ecx, ecx
je 0x40bfc6
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x40bfd6
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov ecx, esi
call fcn.00408b80
mov eax, vtable.CZ_Punkt.0
lea ecx, [esi + 0x10]
mov dword [esi + 0xc8], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x30], eax
mov dword [esp + 0x14], 0xffffffff
call fcn.00463ebc
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x414b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49dff8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4cd57c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
push 5
mov ecx, esi
call edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], vtable.CPen.0
mov eax, dword [esp + 0x30]
push eax
mov dword [esp + 0x20], 0
call fcn.00442370
mov ecx, dword [esp + 0x30]
add esp, 4
push eax
push ecx
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x10]
call fcn.004668a2
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.004669dd
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x28]
mov edi, dword [edi + 0x2c]
push edi
push edx
push ecx
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push 7
mov ecx, esi
call eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0xc], vtable.CPen.0
call fcn.00410e90
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0x10
Function at 0x41fa10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
push esi
mov esi, ecx
cmp dword [esi + 0x118], 1
je 0x41fa28
xor eax, eax
pop esi
add esp, 0x24
ret 0x18
push ebp
mov ebp, dword [esi + 0x120]
push edi
mov edi, dword [esi + 0x11c]
test ebp, ebp
jl 0x41fb31
cmp ebp, dword [esi + 0x190]
jge 0x41fb31
push ebx
push ebp
call fcn.004095b0
mov ebx, eax
movzx eax, word [ebx + 0xc]
mov dword [esp + 0x10], eax
test edi, edi
jl 0x41fb25
mov edx, dword [ebx]
mov eax, dword [edx + 0x50]
mov ecx, ebx
call eax
cmp edi, eax
jge 0x41fb25
fld qword [esp + 0x48]
mov edx, dword [ebx]
mov eax, dword [edx + 0x80]
sub esp, 0x18
fstp qword [esp + 0x10]
mov ecx, ebx
fld qword [esp + 0x58]
fstp qword [esp + 8]
fld qword [esp + 0x50]
fstp qword [esp]
push edi
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x74]
push edi
mov ecx, ebx
call eax
push eax
lea ecx, [esi + 0xd8]
call fcn.0041e920
cmp dword [esp + 0x10], 4
jne 0x41fb16
cmp edi, 3
je 0x41fac2
cmp edi, 4
jne 0x41fb16
push ebp
mov ecx, esi
call fcn.004095b0
mov esi, eax
cmp edi, 3
jne 0x41faf6
fld qword [esp + 0x38]
call fcn.004853a0
fld qword [esp + 0x40]
mov dword [esi + 0x78], eax
call fcn.004853a0
pop ebx
mov dword [esi + 0x74], eax
lea eax, [edi - 2]
pop edi
pop ebp
pop esi
add esp, 0x24
ret 0x18
cmp edi, 4
jne 0x41fb16
fld qword [esp + 0x38]
call fcn.004853a0
fld qword [esp + 0x40]
mov dword [esi + 0x7c], eax
call fcn.004853a0
mov dword [esi + 0x80], eax
pop ebx
pop edi
pop ebp
mov eax, 1
pop esi
add esp, 0x24
ret 0x18
pop ebx
pop edi
pop ebp
xor eax, eax
pop esi
add esp, 0x24
ret 0x18
cmp ebp, 0xffffffff
jne 0x41fbe5
test edi, edi
je 0x41fb47
cmp edi, 1
jne 0x41fbe5
mov ecx, dword [esi + 0x20]
fld qword [esp + 0x3c]
mov edx, dword [esi + 0x24]
fld qword [esp + 0x34]
mov eax, dword [esi + 0x28]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
test edi, edi
jne 0x41fb83
call fcn.004853a0
mov dword [esp + 0x10], eax
call fcn.004853a0
mov dword [esp + 0x14], eax
jmp 0x41fba0
cmp edi, 1
jne 0x41fb9c
call fcn.004853a0
mov dword [esp + 0x18], eax
call fcn.004853a0
mov dword [esp + 0x1c], eax
jmp 0x41fba0
fstp st(0)
fstp st(0)
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00405d40
fld qword [esp + 0x34]
fstp qword [esi + 0xe8]
pop edi
fld qword [esp + 0x38]
pop ebp
fstp qword [esi + 0xf0]
mov eax, 1
fld qword [esp + 0x3c]
fstp qword [esi + 0xf8]
fld1
fstp qword [esi + 0x100]
pop esi
add esp, 0x24
ret 0x18
pop edi
pop ebp
mov dword [esi + 0x118], 0
xor eax, eax
pop esi
add esp, 0x24
ret 0x18
Function at 0x4201e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push edi
mov ebx, ecx
xor edi, edi
cmp dword [ebx + 0x190], edi
jle 0x4203f9
push ebp
push esi
push edi
mov ecx, ebx
call fcn.004095b0
movzx eax, word [eax + 0xc]
cmp eax, 8
jne 0x4202b5
push edi
mov ecx, ebx
call fcn.004095b0
mov esi, eax
fild dword [esi + 0xbc]
fisub dword [esp + 0x20]
fld qword [esp + 0x44]
fmul st(1), st(0)
fild dword [esp + 0x30]
faddp st(2)
fild dword [esi + 0xb8]
fisub dword [esp + 0x1c]
fld qword [esp + 0x3c]
fmul st(1), st(0)
fild dword [esp + 0x2c]
faddp st(2)
fxch st(1)
call fcn.004853a0
fxch st(2)
mov dword [esi + 0xb8], eax
call fcn.004853a0
fld qword [esi + 0xd0]
fmul st(2)
mov dword [esi + 0xbc], eax
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
fstp qword [esi + 0xd0]
mov ecx, esi
fld qword [esi + 0xc8]
fmul st(1)
fstp qword [esi + 0xc8]
fld qword [esi + 0xe0]
fmulp st(2)
fxch st(1)
fstp qword [esi + 0xe0]
fmul qword [esi + 0xd8]
fstp qword [esi + 0xd8]
call edx
mov dword [esp + 0x10], eax
test eax, eax
jle 0x4203ea
fild dword [esp + 0x10]
jmp 0x420395
cmp eax, 4
jne 0x42036e
push edi
mov ecx, ebx
call fcn.004095b0
mov esi, eax
fild dword [esi + 0x78]
fmul qword [esp + 0x3c]
call fcn.004853a0
fild dword [esi + 0x74]
mov dword [esi + 0x78], eax
fmul qword [esp + 0x44]
call fcn.004853a0
mov dword [esi + 0x74], eax
movzx eax, word [esi + 0xb4]
mov dword [esp + 0x10], eax
test eax, eax
jle 0x420327
fild dword [esp + 0x10]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul qword [esp + 0x4c]
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
mov cx, word [esp + 0x14]
mov word [esi + 0xb4], cx
fldcw word [esp + 0x10]
movzx eax, word [esi + 0xc8]
mov dword [esp + 0x10], eax
test eax, eax
jle 0x4203ea
fild dword [esp + 0x10]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul qword [esp + 0x4c]
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
mov dx, word [esp + 0x14]
mov word [esi + 0xc8], dx
fldcw word [esp + 0x10]
jmp 0x4203ea
cmp eax, 1
jne 0x4203ad
push edi
mov ecx, ebx
call fcn.004095b0
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
mov ecx, esi
call edx
mov dword [esp + 0x14], eax
test eax, eax
jle 0x4203ea
fild dword [esp + 0x14]
fmul qword [esp + 0x4c]
mov ebp, dword [esi]
call fcn.004853a0
push eax
mov eax, dword [ebp + 0x13c]
mov ecx, esi
call eax
jmp 0x4203ea
cmp eax, 2
jne 0x4203ea
push edi
mov ecx, ebx
call fcn.004095b0
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc0]
mov ecx, esi
call eax
mov dword [esp + 0x14], eax
test eax, eax
jle 0x4203ea
fild dword [esp + 0x14]
mov ebp, dword [esi]
fmul qword [esp + 0x4c]
call fcn.004853a0
mov edx, dword [ebp + 0x13c]
push eax
mov ecx, esi
call edx
inc edi
cmp edi, dword [ebx + 0x190]
jl 0x4201f7
pop esi
pop ebp
pop edi
pop ebx
add esp, 8
ret 0x38
Function at 0x457340
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49ffc8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cd57c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esi + 0x88], 6
mov dword [esi + 0x70], 0x1f4
mov dword [esi + 0x78], 0x64
mov dword [esi + 0x80], 0x3e8
cmp dword [esp + 0x40], ebx
je 0x4573ef
push esi
lea ecx, [esp + 0x20]
call fcn.00466668
mov eax, dword [esi]
mov edx, dword [eax + 0x160]
push ebx
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
mov dword [esp + 0x40], ebx
call edx
mov eax, 0xe
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
call fcn.00466467
mov eax, dword [esi + 0x68]
sub eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov dword [esp + 0x38], 0xffffffff
call fcn.004666bc
jmp 0x4573f9
mov eax, dword [esi + 0x68]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
xor eax, eax
mov dword [esi + 0x1e0], eax
mov ecx, 0x3e8
mov eax, ecx
mov dword [esi + 0x1e4], ecx
mov dword [esi + 0x1f0], edi
mov dword [esi + 0x1f4], eax
xor eax, eax
mov edx, 0x9c4
mov ecx, edx
mov dword [esi + 0x200], eax
mov eax, ecx
lea ebp, [edi + edi]
mov dword [esi + 0x210], edi
mov dword [esi + 0x214], eax
mov dword [esi + 0x1e8], edi
mov dword [esi + 0x1ec], edx
mov edx, 0xfa0
mov dword [esi + 0x204], ecx
xor eax, eax
cmp dword [esi + 0x88], ebx
mov dword [esi + 0x1f8], ebp
mov dword [esi + 0x1fc], ecx
mov ecx, edx
mov dword [esi + 0x220], eax
mov dword [esi + 0x208], edi
mov dword [esi + 0x20c], edx
mov edx, 0x157c
mov dword [esi + 0x224], ecx
mov eax, ecx
mov dword [esi + 0x230], edi
mov dword [esi + 0x218], ebp
mov dword [esi + 0x21c], ecx
mov dword [esi + 0x234], eax
mov ecx, edx
mov dword [esi + 0x228], edi
mov dword [esi + 0x238], ebp
mov dword [esi + 0x22c], edx
mov dword [esi + 0x23c], ecx
mov dword [esp + 0x40], ebx
jle 0x457516
lea ebx, [esi + 0xa4]
mov eax, dword [ebx + 0x140]
mov edx, dword [ebx + 0x13c]
lea ecx, [ebx + 0x13c]
add eax, 0x190
add edx, 0x7d0
push 0xfffffffffffffffb
mov dword [ebx], eax
mov dword [ebx - 4], edx
push 0xfffffffffffffffb
add eax, 0x3e8
add edx, 0x7d0
push ecx
mov dword [ebx + 8], eax
mov dword [ebx + 4], edx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x40]
inc eax
add ebx, 0x10
cmp eax, dword [esi + 0x88]
mov dword [esp + 0x40], eax
jl 0x4574c4
xor eax, eax
mov dword [esi + 0x430], eax
mov eax, dword [esi + 0x78]
mov ecx, 0x96
mov dword [esi + 0x438], edi
mov dword [esi + 0x43c], eax
mov dword [esi + 0x434], ecx
lea ecx, [eax + 0xf0]
lea ebx, [eax + 0xc8]
mov dword [esi + 0x448], edi
lea eax, [ecx + 0xc8]
mov dword [esi + 0x44c], ecx
lea edx, [ecx + 0xf0]
mov dword [esi + 0x458], edi
mov dword [esi + 0x450], ebp
mov dword [esi + 0x454], eax
mov dword [esi + 0x45c], edx
lea eax, [edx + 0xc8]
mov dword [esi + 0x440], ebp
mov dword [esi + 0x460], ebp
mov dword [esi + 0x444], ebx
mov dword [esi + 0x464], eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x4599c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a0231
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x4cd57c]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
mov eax, dword [0x4cd57c]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [esi + 0x54]
mov dword [esp + 0x30], eax
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x14], ecx
mov ecx, 0xa0
mov dword [esp + 0x38], 0x78
cmp dword [edi + 0xc], eax
je 0x459a3b
lea eax, [ebx + 0xe]
mov edx, 0x1e
lea ecx, [ebx + 0x26]
lea ebx, [eax - 4]
mov dword [esp + 0x38], edx
xor edx, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], vtable.CFont.0
push 0x4a7040
push 0x20
push edx
push edx
push edx
push edx
push edx
push edx
push edx
push 0x190
push edx
push edx
push eax
push ecx
mov dword [esp + 0x188], edx
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [esp + 0x24]
call fcn.004668a2
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], vtable.CFont.0
push 0x4a7040
push 0x20
mov edx, dword [esp + 0x40]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x190
push 0
push 0
push ebx
push edx
mov byte [esp + 0x188], 1
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [esp + 0x1c]
call fcn.004668a2
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], vtable.CPen.0
push 0xcccccc
mov byte [esp + 0x154], 2
call fcn.00442370
add esp, 4
push eax
push ebx
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x2c]
call fcn.004668a2
mov ecx, esi
call fcn.004571c0
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x9c], 0xffffffff
call fcn.00442ef0
test eax, eax
jle 0x459b66
jmp 0x459b20
mov ecx, dword [esp + 0x14]
push ebx
call fcn.00442f00
test eax, eax
je 0x459b58
mov ecx, dword [esp + 0x30]
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x54]
push ecx
push eax
push edi
mov ecx, esi
call fcn.00459420
mov ecx, dword [esp + 0x14]
inc ebx
call fcn.00442ef0
cmp ebx, eax
jl 0x459b20
mov dword [0x4ceab0], 0
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
push 5
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
push 7
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
push 0xd
mov ecx, edi
call eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x150], 1
mov dword [esp + 0x28], vtable.CPen.0
call fcn.00410e90
mov esi, vtable.CFont.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x150], 0
mov dword [esp + 0x18], esi
call fcn.00410e90
lea ecx, [esp + 0x20]
mov dword [esp + 0x150], 0xffffffff
mov dword [esp + 0x20], esi
call fcn.00410e90
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00484f29
mov esp, ebp
pop ebp
ret 0x10
Function at 0x460bc4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x460c0b
call fcn.0045ac66
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x460c0b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x460c27
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0046073e
mov esi, eax
test edi, edi
je 0x460c25
test ebx, ebx
je 0x460c25
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x461af0
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4a02bc
call fcn.004879db
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x461b15
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x461b5b
lea ecx, [ebp - 0x10]
call fcn.00401f10
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0046173b
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401c80
mov eax, esi
call fcn.00487ab3
ret 8

Function at 0x4624fc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0045ac66
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x462535
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0046214d
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x462593
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4625b7
cmp dword [edi + 0x54], 0
jne 0x4625b7
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0045ac66
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00462554
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8