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

Disassembly:
push ebx
mov cl, byte [0x4c7bd8]
push ebp
push esi
mov esi, dword [esp + 0x10]
mov al, 1
mov ebp, esi
push edi
shl ebp, 6
add ebp, 0x4bb5e8
test al, cl
jne 0x42660e
push 0x432a70
mov dl, cl
push 0x426590
push 0x12
or dl, al
push 4
push 0x4c8010
mov byte [0x4c7bd8], dl
call fcn.00450600
push 0x426730
call fcn.0044fd88
add esp, 4
mov ebx, dword [esp + 0x18]
or ecx, 0xffffffff
mov eax, dword [ebx + 4]
mov edi, dword [eax]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00465d62
mov edx, eax
or ecx, 0xffffffff
mov dword [esi*4 + 0x4c8010], edx
mov eax, dword [ebx + 4]
mov edi, dword [eax]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx*4 + 0x4c8010]
mov dword [ebp + 4], edx
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
push eax
call fcn.00450802
fstp dword [ebp + 8]
add esp, 8
lea edi, [ebp + 0xc]
mov esi, 8
mov eax, dword [ebx + 4]
mov ecx, dword [esi + eax]
push ecx
call fcn.0044fe54
add esp, 4
mov byte [edi], al
add esi, 4
inc edi
cmp esi, 0x18
jl 0x426679
lea edi, [ebp + 0x10]
mov esi, 0x18
mov eax, dword [ebx + 4]
mov edx, dword [esi + eax]
push edx
call fcn.0044fe54
add esp, 4
mov byte [edi], al
add esi, 4
inc edi
cmp esi, 0x28
jl 0x42669b
lea edi, [ebp + 0x14]
mov esi, 0x28
mov eax, dword [ebx + 4]
mov eax, dword [esi + eax]
push eax
call fcn.0044fe54
add esp, 4
mov byte [edi], al
add esi, 4
inc edi
cmp esi, 0x38
jl 0x4266bd
lea edi, [ebp + 0x18]
mov esi, 0x38
mov eax, dword [ebx + 4]
mov ecx, dword [esi + eax]
push ecx
call fcn.0044fe54
add esp, 4
mov byte [edi], al
add esi, 4
inc edi
cmp esi, 0xa8
jl 0x4266df
lea edi, [ebp + 0x34]
mov esi, 0xa8
mov eax, dword [ebx + 4]
mov edx, dword [esi + eax]
push edx
call fcn.0044fe54
add esp, 4
mov byte [edi], al
add esi, 4
inc edi
cmp esi, 0xcc
jl 0x426704
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x428ab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x483623
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0044cd7d
lea ecx, [esp + 0xc]
mov dword [esi + 0x34], eax
call fcn.0044c985
mov edi, dword [0x4cd528]
lea ecx, [esp + 8]
call fcn.0044c985
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x428afc
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 8]
call fcn.0044ca21
lea ecx, [esp + 0xc]
call fcn.0044ca21
xor edi, edi
mov ecx, esi
mov dword [esp + 0x3c], edi
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004262a0
mov eax, dword [esp + 0x44]
push 0x200
mov dword [esp + 0x40], 1
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
mov dword [esi], vtable.TMFCFileBuf.0
call fcn.00465d62
add esp, 4
cmp eax, edi
mov dword [esi + 0x3c], eax
jne 0x428b72
push str.Allocation_failure.
lea ecx, [esp + 0x18]
call fcn.00422510
lea ecx, [esp + 0x14]
push 0x498d18
push ecx
mov dword [esp + 0x1c], vtable.TAllocationFailure.0
call fcn.0044f5c5
mov edx, dword [esi + 0xc]
lea ecx, [eax + 0x200]
pop edi
mov dword [edx], eax
mov eax, dword [esi + 0x1c]
mov edx, ecx
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
sub edx, ecx
mov dword [eax], edx
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x3c]
mov dword [edx], eax
mov edx, dword [esi + 0x20]
lea ecx, [eax + 0x200]
mov dword [edx], eax
sub ecx, eax
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 4

Function at 0x42e136
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x483f88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dl, byte [esp + 0x18]
xor ecx, ecx
sub esp, 8
mov dword [esp + 0x18], ecx
mov eax, esp
mov byte [esp + 0x20], cl
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], esp
mov byte [eax], dl
mov dword [eax + 4], ecx
mov edx, dword [esi + 8]
lea ecx, [esi + 0xc]
push edx
call fcn.00415b30
mov ecx, eax
call fcn.00407c40
mov ecx, dword [esi + 0x20]
call fcn.0042c2d0
mov ecx, dword [esi + 0x28]
call fcn.0042c2d0
mov ecx, dword [esi + 0x30]
call fcn.0042a050
mov ecx, dword [esi + 0x38]
call fcn.00431950
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x431700
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x484799
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
mov dword [edi], vtable.TScenarioPropsStartingOptionsPage.1.0
mov dword [edi + 0x8c], vtable.TScenarioPropsStartingOptionsPage.0
push fcn.00475937
push 3
lea eax, [edi + 0xac]
push 0x3c
push eax
mov dword [esp + 0x30], 1
call fcn.00450522
mov al, byte [edi + 0xa4]
xor ebx, ebx
cmp al, bl
je 0x431923
mov esi, dword [edi + 0xa8]
cmp esi, ebx
mov dword [esp + 0x10], esi
je 0x431923
push ebp
lea edi, [esi + 0x31c]
mov dword [esp + 0x18], edi
lea ecx, [edi + 0x13c]
mov byte [esp + 0x24], 8
call fcn.00475937
lea ecx, [edi + 0x100]
mov byte [esp + 0x24], 7
call fcn.00475937
lea ecx, [edi + 0xc4]
mov byte [esp + 0x24], 6
call fcn.00475937
lea ecx, [edi + 0x88]
mov byte [esp + 0x24], 5
call fcn.0047599d
mov eax, dword [edi + 0x64]
push eax
mov dword [esp + 0x1c], eax
call fcn.00465d8b
add esp, 4
mov ecx, edi
mov dword [edi + 0x64], ebx
mov dword [edi + 0x68], ebx
mov dword [edi + 0x6c], ebx
mov byte [esp + 0x24], 3
call fcn.00465f32
lea edi, [esi + 0x1a4]
mov dword [esp + 0x18], edi
lea ecx, [edi + 0x13c]
mov byte [esp + 0x24], 0xe
call fcn.00475937
lea ecx, [edi + 0x100]
mov byte [esp + 0x24], 0xd
call fcn.00475937
lea ecx, [edi + 0xc4]
mov byte [esp + 0x24], 0xc
call fcn.00475937
lea ecx, [edi + 0x88]
mov byte [esp + 0x24], 0xb
call fcn.0047599d
mov ecx, dword [edi + 0x80]
mov edx, dword [edi + 0x7c]
lea ebp, [edi + 0x78]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x2c], 0xa
call fcn.00436e90
mov eax, dword [ebp + 4]
push eax
call fcn.00465d8b
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x68]
lea ebp, [edi + 0x64]
add esp, 4
mov byte [esp + 0x24], 9
push eax
push ecx
mov ecx, ebp
call fcn.00436e90
mov eax, dword [ebp + 4]
push eax
call fcn.00465d8b
add esp, 4
mov dword [ebp + 4], ebx
mov ecx, edi
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov byte [esp + 0x24], 2
call fcn.00465f32
lea ecx, [esi + 0x168]
mov byte [esp + 0x24], 0x14
call fcn.00475937
lea ecx, [esi + 0x12c]
mov byte [esp + 0x24], 0x13
call fcn.00475937
lea ecx, [esi + 0xf0]
mov byte [esp + 0x24], 0x12
call fcn.00475937
lea ecx, [esi + 0xb4]
mov byte [esp + 0x24], 0x11
call fcn.0047599d
lea ecx, [esi + 0x78]
mov byte [esp + 0x24], 0x10
call fcn.00475ab9
mov edx, dword [esi + 0x70]
mov eax, dword [esi + 0x6c]
lea edi, [esi + 0x68]
push edx
push eax
mov ecx, edi
mov byte [esp + 0x2c], 0xf
call fcn.00415f10
mov eax, dword [edi + 4]
push eax
call fcn.00465d8b
add esp, 4
mov ecx, esi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov byte [esp + 0x24], bl
call fcn.00465f32
push esi
call fcn.00465d8b
mov edi, dword [esp + 0x14]
add esp, 4
pop ebp
mov ecx, edi
mov dword [esp + 0x20], 0xffffffff
call fcn.00477f40
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x43fd00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
mov eax, ecx
jne 0x43fd0b
xor eax, eax
ret 4
push ebx
push esi
mov esi, dword [esp + 0xc]
cmp esi, 8
not eax
jb 0x43fe0a
push edi
mov edi, esi
shr edi, 3
mov ecx, eax
xor ebx, ebx
mov bl, byte [edx]
and ecx, 0xff
xor ecx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [ecx*4 + 0x490290]
sub esi, 8
xor eax, ebx
inc edx
mov ecx, eax
xor ebx, ebx
mov bl, byte [edx]
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [edx + 1]
mov ecx, dword [ecx*4 + 0x490290]
shr eax, 8
xor ecx, eax
inc edx
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [edx + 1]
mov eax, dword [eax*4 + 0x490290]
shr ecx, 8
xor eax, ecx
inc edx
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [edx + 1]
mov ecx, dword [ecx*4 + 0x490290]
shr eax, 8
xor ecx, eax
inc edx
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [edx + 1]
mov eax, dword [eax*4 + 0x490290]
shr ecx, 8
xor eax, ecx
inc edx
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [edx + 1]
mov ecx, dword [ecx*4 + 0x490290]
shr eax, 8
xor ecx, eax
inc edx
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [edx + 1]
mov eax, dword [eax*4 + 0x490290]
shr ecx, 8
xor eax, ecx
inc edx
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x490290]
xor eax, ecx
inc edx
dec edi
jne 0x43fd22
pop edi
test esi, esi
je 0x43fe2c
mov ecx, eax
xor ebx, ebx
mov bl, byte [edx]
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x490290]
xor eax, ecx
inc edx
dec esi
jne 0x43fe0e
pop esi
pop ebx
not eax
ret 4
Function at 0x447320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x486233
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0044cd7d
lea ecx, [esp + 0xc]
mov dword [esi + 0x34], eax
call fcn.0044c985
mov edi, dword [0x4cd528]
lea ecx, [esp + 8]
call fcn.0044c985
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x44736c
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 8]
call fcn.0044ca21
lea ecx, [esp + 0xc]
call fcn.0044ca21
lea eax, [esi + 4]
lea ecx, [esi + 0x14]
lea edx, [esi + 0x18]
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
lea eax, [esi + 8]
lea ecx, [esi + 0x24]
lea edx, [esi + 0x28]
xor edi, edi
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0x10], eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], edx
mov dword [eax], edi
mov eax, dword [esi + 0x20]
push edi
push edi
mov dword [eax], edi
mov ecx, dword [esi + 0x30]
push edi
mov dword [esp + 0x28], edi
mov dword [ecx], edi
mov ecx, esi
call fcn.00447430
mov cl, byte [esp + 0x24]
xor eax, eax
test cl, 1
mov dword [esi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
jne 0x4473da
mov eax, 4
test cl, 2
jne 0x4473e1
or al, 2
mov edx, dword [esi + 0xc]
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 0x20
mov dword [esi + 0x44], eax
mov dword [edx], edi
mov eax, dword [esi + 0x1c]
mov dword [eax], edi
mov ecx, dword [esi + 0x2c]
mov dword [ecx], edi
mov edx, dword [esi + 0x10]
mov dword [edx], edi
mov eax, dword [esi + 0x20]
mov dword [eax], edi
mov ecx, dword [esi + 0x30]
mov eax, esi
mov dword [ecx], edi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4

Function at 0x44ab80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x486538
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
push 0
mov dword [esp + 0xc], esi
call fcn.0044c6f0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
add eax, 0x1c
push edx
push eax
mov ecx, esi
mov dword [esp + 0x2c], 0
mov dword [esi], vtable.TPalette16.0
call fcn.0044ac40
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x458012
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c44a8
cmp edx, dword [eax]
je 0x458034
add eax, 8
inc ecx
cmp eax, 0x4c4538
jl 0x458025
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c44a8]
jne 0x458162
mov eax, dword [0x4cd9f8]
cmp eax, 1
je 0x45813c
test eax, eax
jne 0x458065
cmp dword [0x4c3938], 1
je 0x45813c
cmp edx, 0xfc
je 0x458162
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x45809c
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00454590
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00453220
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4580df
lea eax, [ebp - 0x1a4]
push eax
call fcn.00453220
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x491d84
push edi
call fcn.004506d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00454590
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004545a0
lea eax, [ebp - 0xa0]
push 0x4a5a44
push eax
call fcn.004545a0
push dword [esi + 0x4c44ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.004545a0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0045d9af
add esp, 0x2c
pop edi
jmp 0x458162
lea eax, [ebp + 8]
lea esi, [esi + 0x4c44ac]
push 0
push eax
push dword [esi]
call fcn.00453220
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4623d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004514c0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x46249b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x46249b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x46244e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x462459
or bh, 8
and edi, 0x8000000
je 0x462474
mov eax, dword [0x4cf5dc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x46249b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462870
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x46289b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4628bf
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4628da
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x4677fd
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x467835
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.0046a067
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046a03f
jmp 0x467841
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4691b0
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 0x4691f2
call fcn.0047b6e7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4691f2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4691e9
xor eax, eax
jmp 0x4691fa
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00469200
pop edi
pop esi
pop ebx
ret 4
Function at 0x47c210
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.0047b6e7
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x47c24d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x47c24d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x47c251
xor eax, eax
jmp 0x47c2cf
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.00465d62
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x47c289
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x47c273
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.0047c3c0
push ebx
mov edi, eax
call fcn.00465d8b
test edi, edi
pop ecx
je 0x47c2cb
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.0047c189
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.0047c2d4
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x47cf5d
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 0x47cf8b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47cfa9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047cec3
jmp 0x47cfa9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47cfa9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047cec3
test edi, edi
mov eax, edi
jne 0x47cf93
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x47deea
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x47df9a
mov ecx, 0x4cc6a0
call fcn.0047d04a
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, eax
cmp word [esi + 8], 0
jne 0x47df78
push str.COMCTL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x47df56
mov ecx, dword [ebp + 0x10]
push 5
neg ecx
sbb ecx, ecx
and ecx, 0xe
add ecx, 0x3ee
movzx ecx, cx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x47df56
push ebx
push edi
push eax
call fcn.0046bb59
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax - 8]
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 4], eax
push dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ax, word [ebx]
mov word [esi + 8], ax
push dword [esi + 4]
mov ecx, edi
call fcn.00469dbd
mov si, word [esi + 8]
xor eax, eax
mov word [ebx], si
cmp si, 0xffff
pop edi
pop esi
setne al
pop ebx
pop ebp
ret 0xc

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x625a3af2
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x7241033a
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx