joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4042c0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 0
mov dword [esp + 0x3c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
je 0x404317
mov eax, dword [esp]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
add esp, 0x54
ret
xor eax, eax
add esp, 0x54
ret

Function at 0x404360
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x208
push esi
push edi
mov edi, ecx
call fcn.00404320
test eax, eax
jne 0x404458
call fcn.00428e9f
mov eax, dword [eax + 8]
push eax
lea eax, [esp + 0xc]
push eax
call fcn.0040a200
lea ecx, [esp + 0x10]
push str.RxMpegX.ax
lea esi, [edi + 0xc0]
push ecx
push str._s_s
push esi
call fcn.0041f9c2
mov eax, dword [esi]
push eax
call fcn.0040a2f0
add esp, 0x1c
test eax, eax
jne 0x4043e0
lea edx, [esp + 8]
push edx
push str.Filter.RxMpegX
call fcn.00408850
add esp, 8
mov dword [edi + 0xc4], eax
test eax, eax
je 0x404458
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.00421109
lea ecx, [esp + 0x10c]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [esi]
lea eax, [esp + 0x10c]
push edx
push eax
lea ecx, [esp + 0x10]
push str._s_regsvr32.exe__s__s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x18]
push edx
call fcn.004042c0
add esp, 0x14
test eax, eax
je 0x40442f
call fcn.00404320
test eax, eax
je 0x40442f
mov eax, 1
jmp 0x404431
xor eax, eax
test eax, eax
mov dword [edi + 0xc8], eax
jne 0x404458
mov eax, dword [edi + 0xc4]
test eax, eax
je 0x404458
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [edi + 0xc4], 0
pop edi
pop esi
add esp, 0x208
ret

Function at 0x404470
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x208
push esi
mov esi, ecx
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x404500
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x4044d9
lea ecx, [esp + 4]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [esi + 0xc0]
lea eax, [esp + 4]
push edx
push eax
lea ecx, [esp + 0x110]
push str._s_regsvr32.exe__s__u__s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x118]
push edx
call fcn.004042c0
add esp, 0x14
mov dword [esi + 0xc8], 0
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x404500
mov eax, dword [esi + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xc4], 0
pop esi
add esp, 0x208
ret
Function at 0x406bd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42d840
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], vtable.CMenu.0
mov dword [esp + 0x10], ebx
mov eax, dword [0x4399c0]
mov dword [esp + 0x1c], ebx
mov dword [esp + 8], eax
mov byte [esp + 0x1c], 1
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
lea ecx, [esp + 0x10]
call fcn.004264a5
cmp eax, ebx
jne 0x406c59
lea ecx, [esp + 8]
mov byte [esp + 0x1c], bl
call fcn.00420fcc
mov dword [esp + 0xc], vtable.CMenu.0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 2
call fcn.004264fc
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
lea ecx, [esp + 0xc]
push edi
push ecx
mov ecx, esi
call fcn.00406a70
mov edi, dword [sym.imp.USER32.dll_AppendMenuA]
test eax, eax
jle 0x406c7e
mov edx, dword [esp + 0x14]
push ebx
push ebx
push 0x800
push edx
call edi
push 0x7a
lea ecx, [esp + 0x10]
call fcn.004260a8
mov edx, dword [esi + 0x14f0]
mov ecx, dword [esi + 0x18f0]
xor eax, eax
cmp edx, ebx
sete al
mov edx, dword [esp + 0x14]
or eax, ecx
mov ecx, dword [esp + 0xc]
neg eax
sbb eax, eax
push ecx
and eax, 3
push 0x6a
push eax
push edx
call edi
mov eax, dword [esp + 0x14]
push ebx
push ebx
push 0x800
push eax
call edi
push 0x78
lea ecx, [esp + 0x10]
call fcn.004260a8
mov eax, dword [esi + 0x18f4]
mov ecx, dword [esi + 0x18f0]
neg eax
mov edx, dword [esp + 0xc]
sbb eax, eax
push edx
and eax, 8
push 0x68
neg ecx
sbb ecx, ecx
and ecx, 3
or eax, ecx
push eax
mov eax, dword [esp + 0x20]
push eax
call edi
push 0x79
lea ecx, [esp + 0x10]
call fcn.004260a8
mov eax, dword [esi + 0x18f8]
mov ecx, dword [esi + 0x18f0]
neg eax
mov edx, dword [esp + 0xc]
sbb eax, eax
push edx
and eax, 8
push 0x69
neg ecx
sbb ecx, ecx
and ecx, 3
or eax, ecx
push eax
mov eax, dword [esp + 0x20]
push eax
call edi
cmp dword [esi + 0x1b2c], ebx
jne 0x406d6c
push 0x7e
lea ecx, [esp + 0x10]
call fcn.004260a8
mov eax, dword [esi + 0x18ec]
mov ecx, dword [esi + 0x18f0]
neg eax
mov edx, dword [esp + 0xc]
sbb eax, eax
push edx
and eax, 8
push 0x6b
neg ecx
sbb ecx, ecx
and ecx, 3
or eax, ecx
push eax
mov eax, dword [esp + 0x20]
push eax
call edi
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push 0x800
push ecx
call edi
push 0x77
lea ecx, [esp + 0x10]
call fcn.004260a8
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
push edx
push 0x10
push ebx
push eax
call edi
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ebx
push esi
push edx
push eax
push 2
lea ecx, [esp + 0x24]
call fcn.0042306e
lea ecx, [esp + 0x10]
call fcn.004264fc
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], bl
call fcn.00420fcc
mov dword [esp + 0x10], vtable.CMenu.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 3
call fcn.004264fc
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x408850
Capabilities:
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x108
push ebx
push ebp
push esi
push edi
push eax
xor ebp, ebp
call fcn.004099f0
mov edi, eax
add esp, 4
test edi, edi
je 0x40890a
call fcn.00428e9f
mov eax, dword [eax + 8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x40890a
lea ecx, [esp + 0x14]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [esp + 0x120]
lea edx, [esp + 0x14]
push esi
push ebp
push 0x4396e8
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push ebp
push 0x100
push 2
push ebp
push ebp
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x40890a
call fcn.00428e9f
mov eax, dword [eax + 8]
lea ecx, [esp + 0x10]
push ebp
push ecx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x108
ret

Function at 0x409c80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 0x14]
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push eax
mov byte [ebp], 0
call fcn.004099f0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x409cfa
call fcn.00428e9f
mov eax, dword [eax + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x409cfa
call fcn.00428e9f
mov eax, dword [eax + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x14]
mov esi, eax
push ecx
push esi
push edi
call fcn.00409b00
add esp, 0xc
test eax, eax
je 0x409cfa
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
sub esi, eax
push edx
push ebp
add esi, edi
push ecx
push esi
push eax
call fcn.00409bb0
add esp, 0x14
xor eax, eax
pop edi
test ebx, ebx
pop esi
pop ebp
setne al
pop ebx
ret

Function at 0x409d10
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x24]
push ebx
push edi
push esi
push ebp
push eax
call fcn.00409c80
add esp, 0x14
test eax, eax
je 0x409d50
cmp byte [esi], 0
jne 0x409d64
mov ecx, dword [esp + 0x1c]
push edi
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push ebx
push edi
push esi
push edx
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x40b0b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push edi
call fcn.00428e9f
mov ecx, dword [esp + 8]
mov eax, dword [eax + 8]
push 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x40b0cf
pop edi
ret
push ebx
push ebp
push esi
xor ebp, ebp
call fcn.00428e9f
mov eax, dword [eax + 8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40b164
mov eax, dword [0x43c9f8]
test eax, eax
je 0x40b14f
call fcn.00428e9f
mov eax, dword [eax + 8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
call fcn.004214d2
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40b14f
mov ecx, edi
mov edi, ebx
mov edx, ecx
mov eax, dword [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
call fcn.0040a950
push ebx
mov ebp, eax
call fcn.004214fb
add esp, 0x10
mov eax, ebp
pop esi
pop ebp
pop ebx
pop edi
ret
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
push esi
call fcn.0040a950
add esp, 0xc
mov ebp, eax
mov eax, ebp
pop esi
pop ebp
pop ebx
pop edi
ret
Function at 0x40f780
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42de00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x4399c0]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x30]
lea edx, [edi + 0x1a4]
push ecx
lea eax, [esp + 0x34]
xor ebx, ebx
push edx
push eax
mov dword [esp + 0x30], ebx
call fcn.00421215
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.004210b9
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], bl
call fcn.00420fcc
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0xc]
mov eax, dword [edi + 0x1a0]
push ebx
push ecx
push esi
push str.Bitmap
push edx
push eax
call fcn.0040b700
add esp, 0x18
test eax, eax
jne 0x40f82d
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00420fcc
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov eax, dword [edi + 0x1a0]
mov ecx, dword [esp + 0xc]
push ebp
push eax
lea eax, [esi + 0x14]
push eax
push 0x4397b8
push ecx
call fcn.00409ea0
mov eax, dword [edi + 0x1a0]
mov edx, dword [esp + 0x20]
lea ebp, [esi + 0xc]
push eax
push ebp
push str.Size
push edx
call fcn.00409ee0
mov eax, dword [edi + 0x1a0]
push eax
mov eax, dword [esp + 0x34]
push ebx
push str.Rectangles
push eax
call fcn.00409d70
add esp, 0x30
cmp eax, ebx
mov dword [esi + 4], eax
je 0x40f8da
shl eax, 4
push eax
call fcn.004214d2
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
add esp, 4
xor ebp, ebp
cmp eax, ebx
jle 0x40f908
push ebp
lea ecx, [esp + 0x18]
push 0x439974
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [edi + 0x1a0]
mov ecx, dword [esi + 8]
mov edx, ebx
push eax
add edx, ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push edx
push eax
push ecx
call fcn.00409fc0
mov eax, dword [esi + 4]
add esp, 0x1c
inc ebp
add ebx, 0x10
cmp ebp, eax
jl 0x40f89b
jmp 0x40f908
push 0x10
mov dword [esi + 4], 1
call fcn.004214d2
mov dword [esi + 8], eax
mov dword [eax + 4], ebx
mov edx, dword [esi + 8]
add esp, 4
mov dword [edx], ebx
mov eax, dword [esi + 8]
mov ecx, dword [ebp]
mov dword [eax + 8], ecx
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x10]
mov dword [edx + 0xc], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.00420fcc
mov ecx, dword [esp + 0x20]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x417d0d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x43a7a0
cmp edx, dword [eax]
je 0x417d2f
add eax, 8
inc ecx
cmp eax, 0x43a830
jl 0x417d20
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x43a7a0]
jne 0x417e5d
mov eax, dword [0x43ea3c]
cmp eax, 1
je 0x417e37
test eax, eax
jne 0x417d60
cmp dword [0x43a2a4], 1
je 0x417e37
cmp edx, 0xfc
je 0x417e5d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x417d97
lea eax, [ebp - 0x1a4]
push 0x4333e0
push eax
call fcn.00416510
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004143e0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x417dda
lea eax, [ebp - 0x1a4]
push eax
call fcn.004143e0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4333dc
push edi
call fcn.00419d20
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4333c0
push eax
call fcn.00416510
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00416520
lea eax, [ebp - 0xa0]
push 0x4333bc
push eax
call fcn.00416520
push dword [esi + 0x43a7a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00416520
push 0x12010
lea eax, [ebp - 0xa0]
push 0x433394
push eax
call fcn.00419c8c
add esp, 0x2c
pop edi
jmp 0x417e5d
lea eax, [ebp + 8]
lea esi, [esi + 0x43a7a4]
push 0
push eax
push dword [esi]
call fcn.004143e0
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 0x41ee40
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.004136f0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x41ef0b
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 0x41ef0b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x41eebe
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x41eec9
or bh, 8
and edi, 0x8000000
je 0x41eee4
mov eax, dword [0x4401dc]
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 0x41ef0b
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 0x41f2e0
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 0x41f30b
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 0x41f32f
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 0x41f34a
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 0x422f46
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x422f7e
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.00421427
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004213ff
jmp 0x422f8a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x424518
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 0x42455a
call fcn.00428e9f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x42455a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x424551
xor eax, eax
jmp 0x424562
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00424568
pop edi
pop esi
pop ebx
ret 4

Function at 0x42593a
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 0x42595c
cmp dword [edi + 0x3c], 0
jne 0x42595c
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00428e9f
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.00425989
pop edi
pop esi
pop ebx
ret 8
Function at 0x425cc9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x42e2f4
call fcn.004140f4
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.00428e9f
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x425d08
call fcn.00428e9f
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x425d16
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x425d24
or eax, 0xffffffff
jmp 0x425e0c
mov ecx, esi
call fcn.00425c3f
mov dword [ebp - 0x14], eax
call fcn.00422a4f
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x425d5b
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x425d5b
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.00422a03
push dword [ebp - 0x14]
call fcn.00422551
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.004259d7
cmp eax, edi
je 0x425dce
test byte [esi + 0x24], 0x10
je 0x425d9c
push 4
mov ecx, esi
pop ebx
call fcn.00426224
test ah, 1
je 0x425d94
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.0042466a
cmp dword [esi + 0x1c], edi
je 0x425dce
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004262cb
jmp 0x425dce
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x425de2
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x425dfb
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x425dfb
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.00425c79
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret