joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c860
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x44beab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
mov eax, dword [esp + 0x180]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push eax
lea ecx, [esp + 0x14]
call fcn.0043e706
push 1
push 0x5c
lea ecx, [esp + 0x20]
mov dword [esp + 0x18c], 0
call fcn.0043babb
lea ecx, [esp + 0x14]
push 1
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x18c], 1
call fcn.0043bba8
mov edx, dword [esp + 0x18]
mov eax, dword [eax]
push edx
push eax
call fcn.0042c2fc
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call fcn.0043e698
lea ecx, [esp + 0x18]
mov byte [esp + 0x184], 0
call fcn.0043e698
test bl, bl
je 0x41c903
push 0x45b354
lea ecx, [esp + 0x14]
call fcn.0043e9b4
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push 0x101
lea eax, [esp + 0x20]
push 0x160
push eax
push 0
push ecx
call edi
test eax, eax
jne 0x41c92c
push 0x45b358
jmp 0x41c951
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
push 0x103
lea edx, [esp + 0x20]
push 0x160
push edx
push 0
push eax
call edi
test eax, eax
jne 0x41c974
push str.Error_Gettting_SystemFileInfo_
lea ecx, [esi + 0x40]
call fcn.0043e7d5
lea ecx, [esp + 0x10]
mov dword [esp + 0x184], 0xffffffff
call fcn.0043e698
xor eax, eax
jmp 0x41ca1d
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push 1
push ecx
lea ecx, [esp + 0x18]
call fcn.0043bba8
mov eax, dword [eax]
push 0x45b398
push eax
call fcn.0042c2fc
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
sete bl
call fcn.0043e698
test bl, bl
je 0x41c9be
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x14]
mov eax, dword [edx - 8]
dec eax
push eax
call fcn.0043eab1
mov ebx, dword [esp + 0x18c]
cmp ebx, 0xffff0000
jne 0x41c9e1
mov eax, dword [esp + 0x10]
push 0xffff0002
push ebx
push 0
push 0
push 0
push edi
push ebp
jmp 0x41c9fb
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0041ca40
push 0xffff0002
push ebx
push 0
push 0
push 0
push edi
push ebp
push eax
push 0x23
mov ecx, esi
call fcn.0043cd79
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x184], 0xffffffff
call fcn.0043e698
mov eax, esi
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x178
ret 8
Function at 0x41ce00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44bf4a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x45fc04]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x34]
mov bl, 2
push 0x4756d4
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], bl
call fcn.0043e7d5
test esi, esi
je 0x41cedd
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x38]
push esi
push eax
mov ecx, edi
call fcn.0043cca1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 3
call fcn.0043e785
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], bl
call fcn.0043e698
push 0x45b3b0
lea ecx, [esp + 0x18]
call fcn.0043e9b4
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.0043e87b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 4
call fcn.0043e785
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.0043e698
mov ecx, dword [edi + 0x1c]
push esi
push 3
push 0x110a
push ecx
call ebp
mov esi, eax
test esi, esi
jne 0x41ce61
pop ebp
push 1
push 0x5c
lea ecx, [esp + 0x1c]
call fcn.0043babb
lea edx, [esp + 0x18]
push 1
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 5
call fcn.0043bba8
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
push ecx
push eax
call fcn.0042c2fc
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete byte [esp + 0x34]
call fcn.0043e698
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.0043e698
mov al, byte [esp + 0x34]
test al, al
je case.0x40cd00.18
mov edx, dword [esp + 0xc]
push 0
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
dec eax
push eax
call fcn.0043eab1
Function at 0x41e700
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44c06c
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x18]
push 0x10
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x34]
mov al, byte [esp + 0x1d]
mov cl, byte [esp + 0x1f]
mov dl, byte [esp + 0x1c]
mov byte [0x475806], al
mov al, byte [esp + 0x1e]
and cl, 0xf0
mov byte [0x475807], al
mov byte [0x475805], dl
shr al, 4
or cl, al
mov byte [0x475804], cl
call fcn.0040cbc0
test eax, eax
je 0x41e7cd
mov ecx, dword [0x45fc04]
mov dword [esp + 0xc], ecx
mov edx, dword [0x475804]
lea eax, [esp + 0xc]
and edx, 0xff
mov dword [esp + 0x30], 0
push edx
push str.Sorry__but_the_mapper__d_is_not_supported.
push eax
call fcn.0043c044
add esp, 8
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0043e40d
call fcn.0041ebf0
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0043e698
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret
call fcn.0040d840
mov edx, dword [esi]
mov dword [0x475908], eax
xor eax, eax
xor ebx, ebx
mov al, byte [0x475806]
mov bl, byte [0x475805]
mov edi, eax
mov ecx, esi
shl ebx, 0xe
shl edi, 0xd
call dword [edx + 0x30]
mov dl, byte [0x475807]
mov ecx, eax
sub ecx, 0x10
add edi, ebx
test dl, 4
mov eax, edi
je 0x41e80e
add eax, 0x200
cmp eax, ecx
je 0x41e885
mov edx, dword [0x45fc04]
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], 1
mov edx, str.larger
jl 0x41e830
mov edx, str.shorter
sub eax, ecx
push edx
cdq
xor eax, edx
sub eax, edx
push eax
lea eax, [esp + 0x18]
push str.The_ROM_image_is__d_bytes__s_than_expected._The_game_was_not_loaded__n_nPlease_fix_the_ROM_and_try_again.
push eax
call fcn.0043c044
add esp, 0xc
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0043e40d
call fcn.0041ebf0
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.0043e698
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret
mov eax, dword [0x475a0c]
test eax, eax
je 0x41e8a1
push eax
call fcn.0042bf0e
add esp, 4
mov dword [0x475a0c], 0
push edi
call fcn.0042c2ee
add esp, 4
mov dword [0x475a0c], eax
mov eax, dword [esi]
mov ecx, esi
push 0
push 0x10
call dword [eax + 0x28]
test byte [0x475807], 2
je 0x41e8ca
mov cl, 1
call fcn.00401b40
test byte [0x475807], 4
je 0x41e8da
mov ecx, esi
call fcn.00401ca0
mov eax, dword [0x475a0c]
mov edx, dword [esi]
push edi
push eax
mov ecx, esi
call dword [edx + 0x34]
mov dl, byte [0x475806]
test dl, dl
jbe 0x41e8fc
mov ecx, dword [0x475a0c]
add ecx, ebx
jmp 0x41e8fe
xor ecx, ecx
mov dword [0x475a10], ecx
call fcn.004011f0
test eax, eax
je 0x41e937
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x45b54c
call fcn.0043e706
call fcn.0041ebf0
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret
call fcn.00401960
mov ecx, dword [esp + 0x28]
mov eax, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret
Function at 0x426290
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x476f2c]
add ecx, 0x3e8
cmp eax, ecx
jbe 0x4262ce
mov edx, dword [0x476f24]
mov dword [0x476f28], edx
call esi
mov dword [0x476f2c], eax
mov dword [0x476f24], 0
jmp 0x4262d4
inc dword [0x476f24]
mov eax, dword [0x476ef4]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov eax, dword [0x476f18]
mov dword [0x476f10], 0
test eax, eax
je 0x42630c
mov ecx, dword [0x476f1c]
call fcn.00428760
mov dword [0x476f18], 0
push edi
call dword [0x475e98]
mov eax, dword [0x475724]
test eax, eax
je 0x4263c1
mov ecx, 0x1f
xor eax, eax
mov edi, 0x476dc8
push 0
rep stosd dword es:[edi], eax
mov eax, dword [0x476ef0]
push 0x20
push 0x476dc8
push 0
mov edx, dword [eax]
push eax
mov dword [0x476dc8], 0x7c
call dword [edx + 0x64]
test eax, eax
jne 0x4263c1
mov eax, dword [0x476e1c]
mov edx, dword [0x476dd4]
xor ecx, ecx
cmp eax, 8
setne cl
imul edx, eax
mov esi, dword [0x476dd0]
dec ecx
shr edx, 5
mov dword [ebp - 8], edx
and ecx, 0xfefefefe
xor edx, edx
mov dword [ebp - 0xc], ecx
test esi, esi
jbe 0x4263b1
mov eax, dword [0x476dd8]
mov ecx, dword [0x476dec]
imul eax, edx
add eax, ecx
mov dword [ebp - 4], eax
cld
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 4]
rep stosd dword es:[edi], eax
mov ecx, dword [0x475724]
lea edx, [edx + ecx + 1]
cmp edx, esi
jb 0x426384
mov eax, dword [0x476ef0]
push 0
push eax
mov edx, dword [eax]
call dword [edx + 0x80]
mov eax, dword [0x4757ec]
pop edi
test eax, eax
je 0x42641c
mov eax, dword [0x476f28]
push eax
push 0x45c5d0
push 0x45c5cc
call fcn.0042ba90
mov eax, dword [0x4769b0]
mov esi, dword [0x4769b8]
mov ecx, dword [0x4769b4]
sub eax, esi
add esp, 0xc
lea eax, [eax + eax*2]
push ecx
lea ecx, [eax + eax*8]
mov eax, 0x51eb851f
shl ecx, 1
imul ecx
sar edx, 8
mov eax, edx
mov ecx, 0x45c5cc
shr eax, 0x1f
add edx, eax
add edx, esi
call fcn.0041f350
call fcn.0041f010
mov eax, dword [0x476ef4]
push 0x476538
push 0x8000400
mov ecx, dword [eax]
push 0
push 0
push 0
push eax
call dword [ecx + 0x14]
mov eax, dword [0x476f20]
test eax, eax
pop esi
jne 0x42647a
mov eax, dword [0x476eec]
push 0
push 0
push eax
mov edx, dword [eax]
call dword [edx + 0x2c]
test eax, eax
je 0x426497
cmp eax, 0x887601c2
jne 0x42646f
mov eax, dword [0x476eec]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x6c]
test eax, eax
jne 0x426497
cmp eax, 0x8876021c
je 0x426446
mov esp, ebp
pop ebp
ret
mov eax, dword [0x476eec]
mov ecx, dword [0x476ef0]
push 0
push 0x8000000
mov edx, dword [eax]
push 0
push ecx
push 0
push eax
call dword [edx + 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x427670
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ecx
mov eax, dword [0x4757c0]
push ebx
push ebp
push esi
cmp eax, 0xffffffff
push edi
jne 0x427768
fild qword [0x476ed8]
xor esi, esi
mov dword [esp + 0x10], esi
fmul qword [0x44fdd8]
call fcn.0042bb34
mov dword [0x476dc0], eax
mov dword [0x476dc4], esi
push 0x475e90
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebp, dword [0x476f08]
mov ebx, dword [0x475e90]
test ebp, ebp
jne 0x4276e5
mov ecx, dword [0x476f0c]
mov esi, ebx
mov eax, ecx
cdq
sub esi, eax
mov eax, dword [0x475e94]
sbb eax, edx
mov dword [0x476530], esi
test ecx, ecx
mov dword [0x476534], eax
jg 0x427723
jmp 0x4276eb
mov esi, dword [0x476530]
mov edi, dword [0x476dc0]
mov ecx, ebx
mov edx, edi
imul edx, ebp
sub ecx, edx
sub ecx, esi
mov esi, dword [0x476dc4]
mov eax, ecx
mov dword [0x476f0c], ecx
cdq
cmp edx, esi
jl 0x42771d
jg 0x427715
cmp eax, edi
jb 0x42771d
mov dword [esp + 0x10], 1
test ecx, ecx
jge 0x427735
jmp 0x4276a5
mov dword [0x476f0c], 0
mov dword [esp + 0x10], 1
inc ebp
cmp ebp, 0x258
mov dword [0x476f08], ebp
jne 0x42774e
mov dword [0x476f08], 0
mov eax, dword [0x475e94]
pop edi
pop esi
mov dword [0x476e48], ebx
mov dword [0x476e4c], eax
mov eax, dword [esp + 8]
pop ebp
pop ebx
pop ecx
ret
xor esi, esi
inc eax
mov dword [esp + 0x10], eax
mov dword [0x476f08], esi
fild dword [esp + 0x10]
fild qword [0x476ed8]
fmulp st(1)
fmul qword [0x44fdd8]
call fcn.0042bb34
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov dword [0x476dc0], eax
mov dword [0x476dc4], esi
push 0x475e90
call edi
mov edx, dword [0x475e90]
mov eax, dword [0x476e48]
mov esi, dword [0x475e94]
mov ebp, dword [0x476e4c]
mov ebx, dword [0x476dc4]
mov ecx, edx
sub ecx, eax
mov eax, esi
sbb eax, ebp
cmp eax, ebx
jl 0x42779d
jg 0x4277d7
cmp ecx, dword [0x476dc0]
jb 0x42779d
mov dword [0x476e4c], esi
pop edi
pop esi
pop ebp
mov dword [0x476e48], edx
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x427e00
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x9c
push ebx
mov ebx, edx
push esi
mov esi, ecx
test ebx, ebx
je 0x427ef3
test esi, esi
je 0x427ef3
mov eax, dword [esi]
push ebp
push edi
push esi
call dword [eax + 0x6c]
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
jne 0x427e3d
push str.createcompatible_dc_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x18]
push ecx
push 0x18
push ebx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ebx, dword [esp + 0xb8]
test ebx, ebx
jne 0x427e62
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xbc]
test ebp, ebp
jne 0x427e71
mov ebp, dword [esp + 0x20]
mov edx, dword [esi]
lea eax, [esp + 0x30]
push eax
push esi
mov dword [esp + 0x38], 0x7c
mov dword [esp + 0x3c], 6
call dword [edx + 0x58]
mov ecx, dword [esi]
lea edx, [esp + 0x10]
push edx
push esi
call dword [ecx + 0x44]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x427edb
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x38]
push 0xcc0020
push ebp
push ebx
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x24]
push edi
push edx
push eax
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [esi]
mov eax, dword [esp + 0x10]
push eax
push esi
call dword [edx + 0x68]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x14]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x9c
ret 0x10
pop esi
mov eax, 0x80004005
pop ebx
add esp, 0x9c
ret 0x10
Function at 0x439680
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.0042be20
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x43974b
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 0x43974b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4396fe
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x439709
or bh, 8
and edi, 0x8000000
je 0x439724
mov eax, dword [0x47bc7c]
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 0x43974b
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 0x439b20
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 0x439b4b
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 0x439b6f
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 0x439b8a
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 0x441205
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 0x441247
call fcn.0044a3ef
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x441247
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x44123e
xor eax, eax
jmp 0x44124f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00441255
pop edi
pop esi
pop ebx
ret 4

Function at 0x442b9a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x442bbc
cmp dword [edi + 0x3c], 0
jne 0x442bbc
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0044a3ef
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
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00442be9
pop edi
pop esi
pop ebx
ret 8

Function at 0x44d56d
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
pushal
shl eax, 0xe
mov dword [ebp + 0xc], 0x2f57dad9
movzx edi, word [0x4633d5]
sbb edx, edx
sbb ebx, 0x73a1b873
push dword [0x47c768]
movzx ebx, byte [ebp - 4]
push dword [0x47c838]
ror dword [ebp + 0x10], 1
push dword [0x47c802]
push 0x2dc02bcb
xor edi, dword [0x463434]
push dword [0x47c882]
mul eax
test dword [0x46335a], edx
je 0x44d682
shr word [0x47c809], 0xd
sub edx, 0x5a
rcl word [ebp + 0xc]
mov ecx, 0x47c771
dec eax
shrd dword [ecx], eax, 0xd
movsx ebx, dx
push dword [0x47c74b]
xor edx, 0xffffffab
push dword [ecx]
push 0x5ecf65ef
rcl dword [ebp + 0xc], 0x13
push dword [0x47c80b]
push dword [ebp + 0xc]
pop dword [0x47c8c6]
push dword [ecx]
push eax
push dword [ebp - 4]
push eax
imul edx, dword [ebp - 8], 0x74be1c21
push dword [0x47c8d7]
call fcn.004e246e
cmp bh, dl
jl 0x44d682
not di
movsx edx, word [0x4633aa]
add eax, dword [0x46329b]
mov edx, 0x47c8e1
dec dword [edx]
ror dword [ebp + 0x10], 8
shld dword [edx], edx, 0xc
bsf esi, eax
bt ebx, edx
sar dword [0x47c915], 1
rcl bh, 1
xor word [ebp - 4], ax
neg dword [ebp + 0x10]
mov word [0x47c8d3], 0x52c4
ror dword [edx], 1
mov eax, 0x28370ee5
add dword [ebp - 8], 0xad78f79
bsr eax, edx
mov dword [0x47c809], eax
movzx edi, word [0x4632f3]
shr dword [0x47c8e7], 0x1e
push dword [ebp - 8]
push 0x21ff9717
call fcn.004e7b45
add esp, 0x1c
mov di, 0x758f
popal
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100050f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1007ad40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.100703be
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.10006040
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x10005144
jmp dword [ecx*4 + 0x100052ac]
mov al, byte [esi]
test al, al
je 0x10005172
cmp al, 0x20
je 0x1000515e
cmp al, 0xa1
jne 0x10005172
cmp byte [esi + 1], al
jne 0x10005172
test al, 0x80
je 0x1000516a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10005172
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10005151
test ecx, ecx
je case.default.0x10005144
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x10005144
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x100051b8
cmp dl, 0xa1
jne 0x100051ac
cmp byte [eax + 1], 0xa1
jne 0x100051ac
test ecx, ecx
jne 0x100051a4
mov edi, eax
mov ecx, 1
inc eax
jmp 0x100051cc
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x100051e6
jmp 0x100051cc
cmp dl, 0x20
jne 0x100051ca
test ecx, ecx
jne 0x100051c3
mov edi, eax
mov ecx, 1
jmp 0x100051cc
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1000518c
cmp ecx, 1
jne case.default.0x10005144
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10005144
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10005144
mov al, byte [esi]
test al, al
je 0x1000523e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x10005224
mov cl, byte [esi + 1]
test cl, cl
je 0x1000523e
cmp al, 0xa1
jne 0x10005214
cmp cl, al
je 0x10005221
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.100062d0
inc esi
jmp 0x10005236
cmp al, 0x20
je 0x10005236
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10006310
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x100051fd
push 0
lea ecx, [esp + 0x14]
call fcn.10006310
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1000f490
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x10005271
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x10080c54
call fcn.10006240
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.10070350
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret