joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403aa2
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
movsx edx, byte [esp + 8]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x55ba58]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x55ba58]
pop esi
mov dword [ecx + 8], eax
ret

Function at 0x403f0a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x403f3e
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403f39
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x403f66
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x403f4f
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x14]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.004fb530
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x404d03
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5a71a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test ebx, ebx
je 0x404d37
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x404d37
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov al, byte [edi]
test al, al
je 0x404df0
push esi
mov esi, edi
mov ecx, edi
cmp al, 0x2f
je 0x404d4e
cmp al, 0x5c
jne 0x404d50
mov esi, ecx
inc ecx
mov al, byte [ecx]
test al, al
jne 0x404d46
cmp esi, edi
je 0x404d83
sub esi, edi
push esi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004fb530
lea eax, [ebp - 0x20c]
push eax
push ebx
mov byte [ebp + esi - 0x20c], 0
call fcn.00404d03
add esp, 0x14
mov byte [ebp - 0x108], 0
test ebx, ebx
je 0x404da2
lea edx, [ebp - 0x108]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x404d98
mov eax, edi
mov edx, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404da6
lea edi, [ebp - 0x108]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x404db6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x108]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
pop esi
cmp eax, 0xffffffff
jne 0x404df0
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004fa21f
leave
ret
Function at 0x4063bf
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
cmp dword [ebx], 0
jne 0x406475
cmp dword [ebx + 4], 0xffffffff
jne 0x406475
push esi
push edi
lea esi, [ebx + 0x140]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4063f1
sub eax, edi
mov al, byte [eax + ebx + 0x13f]
cmp al, 0x5c
je 0x40641b
cmp al, 0x2f
je 0x40641b
dec esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x40640a
mov edi, esi
mov esi, 0x55bf7c
movsw word es:[edi], word [esi]
cmp dword [ebp + 0x10], 1
pop edi
pop esi
jne 0x40643e
push 1
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x40643e
mov eax, 0x2000000
jmp 0x40647a
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00403d38
add esp, 0x10
test eax, eax
jne 0x40645c
mov eax, dword [ebp + 0x10]
jmp 0x40647a
push eax
call fcn.00405ea4
mov dword [ebx], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
pop ecx
add eax, 0x200
jmp 0x40647a
mov eax, 0x1000000
pop ebx
pop ebp
ret 0xc
Function at 0x4116e9
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 0x411730
call fcn.0042d532
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x411730
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41174c
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00411263
mov esi, eax
test edi, edi
je 0x41174a
test ebx, ebx
je 0x41174a
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41348b
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x55230e
call fcn.004fa22e
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4134b0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4134f6
lea ecx, [ebp - 0x10]
call fcn.00401a9f
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.004122ad
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.0040104c
mov eax, esi
call fcn.004fa306
ret 8
Function at 0x413b2a
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [ebx + 0x9c], ecx
cmp dword [ebx + 0x90], ecx
je 0x413baa
cmp dword [ebp + 0xc], ecx
jne 0x413baa
cmp dword [ebx + 0x94], ecx
jne 0x413baa
mov eax, dword [ebx + 0x20]
cmp eax, ecx
je 0x413ba0
cmp eax, 0xffffffff
je 0x413ba0
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xc8]
push dword [ebp - 8]
call fcn.0040c283
mov dword [ebx + 0x9c], eax
test eax, eax
jne 0x413baa
xor eax, eax
jmp 0x413cea
mov dword [ebx + 0x9c], 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xec]
test eax, eax
je 0x413be5
cmp dword [ebp + 0xc], 0
jne 0x413be5
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xd8]
push dword [ebp - 8]
call fcn.0040c283
test eax, eax
jne 0x413b99
xor ecx, ecx
cmp dword [ebx + 0x9c], ecx
jne 0x413c0b
mov eax, dword [ebx + 0x20]
cmp eax, ecx
jbe 0x413c0b
cmp eax, 0xffffffff
je 0x413c0b
cmp dword [ebx + 0x90], ecx
jne 0x413c0b
cmp dword [ebx + 0xa8], ecx
je 0x413b99
push dword [ebx + 0x6c]
push 0x5a45f4
call fcn.0042bc86
lea esi, [ebx + 0x8c]
mov dword [ebp - 4], eax
mov eax, dword [esi]
xor edi, edi
pop ecx
pop ecx
cmp eax, edi
je 0x413c44
mov dword [eax + 0xf8], edi
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [ebp - 4]
mov dword [esi], edi
cmp ecx, edi
je 0x413caa
push edi
jmp 0x413ca5
push dword [ebx + 0x6c]
push 0x5a4f48
call fcn.0042bc86
pop ecx
pop ecx
cmp dword [ebp + 0xc], edi
je 0x413c70
cmp eax, edi
je 0x413c70
cmp dword [0x5aa614], edi
jne 0x413c70
push 1
push ebx
mov ecx, eax
call fcn.004850d0
jmp 0x413c9d
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x413c88
push edi
call fcn.00419a1d
cmp eax, edi
je 0x413c88
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x58]
push dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test eax, eax
je 0x413b99
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x413caa
push ebx
call fcn.0041c5b7
cmp dword [ebx + 0x6c], edi
je 0x413ce7
lea esi, [ebx + 0x54]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004012b3
mov eax, dword [eax + 0x94]
push eax
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x401
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x6c]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41ffbb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
movzx ebx, word [ebp + 8]
push esi
push edi
mov edi, ecx
test ebx, ebx
jne 0x41ffd5
call fcn.0042cb2b
call fcn.0042d532
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x41fff5
xor eax, eax
jmp 0x420110
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x41ffee
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41ffee
movzx eax, word [esi + 6]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00406980
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x41ffd0
cmp dword [ebp + 0x10], 0
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
push eax
lea ebx, [ecx + 6]
lea edx, [eax + 6]
push ebx
push edx
je 0x420052
mov ecx, edi
call fcn.004189fe
jmp 0x420057
call fcn.004188e8
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x420069
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x420084
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x4200fc
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x4200d3
lea eax, [esi + 8]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 8]
mov dword [ecx + ebx*4], eax
jne 0x4200c6
test eax, eax
jbe 0x4200c6
push eax
mov ecx, 0x5a39e4
call fcn.0041f5bb
mov ecx, dword [ebp + 0xc]
inc dword [ebp + 0xc]
mov dword [eax], ecx
movzx eax, word [esi + 6]
add dword [ebp - 4], 2
inc ebx
cmp ebx, eax
jl 0x42009d
mov eax, dword [ebp + 8]
mov dword [edi + 0xbe0], eax
movzx ecx, word [esi + 6]
mov eax, dword [edi]
push 1
push ecx
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 0x318]
mov ebx, eax
test ebx, ebx
jne 0x4200fc
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.004069af
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x426f26
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call dword [eax + 0x190]
test al, al
jns 0x426f48
or eax, 0xffffffff
jmp 0x426f4d
mov eax, dword [0x5a4694]
mov edx, dword [esi]
lea ecx, [ebp - 4]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x290]
push dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x5a3b24
call fcn.0042bc86
mov edi, eax
pop ecx
pop ecx
cmp edi, esi
je 0x426fea
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x426fea
cmp edi, ebx
je 0x426f9f
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x200]
push eax
push 0x5a5530
call fcn.0042bc86
pop ecx
pop ecx
mov ebx, eax
cmp dword [ebp - 8], 2
jne 0x426ff3
test ebx, ebx
je 0x426fd6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x198]
test al, 0x40
je 0x426fea
cmp dword [ebp - 4], 0
je 0x426fd6
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0x224]
mov ecx, dword [ebp + 8]
neg eax
sbb eax, eax
inc eax
mov dword [ecx], eax
mov eax, esi
jmp 0x426fec
mov eax, dword [esi]
push 5
push 0
push edi
mov ecx, esi
call dword [eax + 0x1d0]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 8], 3
jne 0x426fea
test edi, edi
je 0x426fea
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x15c]
test eax, eax
je 0x426fea
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x164]
test eax, eax
je 0x426fea
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x218]
mov eax, dword [esi]
push 0
push 1
push 5
push edi
mov ecx, esi
call dword [eax + 0x328]
mov edx, dword [ebp + 8]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
jmp 0x426fec
Function at 0x42a990
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
test byte [0x5aafc8], 1
push ebx
push esi
push edi
mov ebx, ecx
jne 0x42a9bf
or dword [0x5aafc8], 1
mov ecx, 0x5aafc4
call fcn.00401a9f
push 0x5589b0
call fcn.004fb50a
pop ecx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x42a9cb
call fcn.0042cb2b
mov eax, dword [ebx + 0x318]
test eax, eax
je 0x42aa44
cmp dword [eax + 0x20], 0
je 0x42aa44
test eax, eax
je 0x42a9e2
mov eax, dword [eax + 0x20]
cmp dword [edi], eax
jne 0x42aa44
mov eax, dword [edi + 4]
dec eax
je 0x42aa23
dec eax
je 0x42a9f9
dec eax
jne 0x42aa44
mov esi, 0x428e
jmp 0x42aa28
push 0x11
mov esi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x42aa28
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x31c]
test eax, eax
je 0x42aa28
add esi, 3
jmp 0x42aa28
mov esi, 0x3ea0
push esi
mov ecx, 0x5aafc4
call fcn.0040270c
test eax, eax
je 0x42a9c6
mov eax, dword [0x5aafc4]
mov dword [edi + 0xc], eax
xor eax, eax
inc eax
jmp 0x42aa46
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x433720
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
xor edi, edi
push str.UxTheme.dll
mov dword [esi], vtable.CMFCBaseVisualManager.0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.0040cd4a
pop ecx
mov dword [esi + 0x48], eax
cmp eax, edi
je 0x4337db
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call edi
push str.CloseThemeData
push dword [esi + 0x48]
mov dword [esi + 0x4c], eax
call edi
push str.DrawThemeBackground
push dword [esi + 0x48]
mov dword [esi + 0x50], eax
call edi
push str.GetThemeColor
push dword [esi + 0x48]
mov dword [esi + 0x54], eax
call edi
push str.GetThemeSysColor
push dword [esi + 0x48]
mov dword [esi + 0x58], eax
call edi
push str.GetCurrentThemeName
push dword [esi + 0x48]
mov dword [esi + 0x5c], eax
call edi
push str.GetWindowTheme
push dword [esi + 0x48]
mov dword [esi + 0x60], eax
call edi
mov ecx, esi
mov dword [esi + 0x64], eax
call fcn.004331e8
jmp 0x4337f0
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
pop edi
mov eax, esi
pop esi
ret
Function at 0x43ef77
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x5ab540], 0
mov dword [ebp - 4], ecx
jne 0x43ef8d
xor eax, eax
jmp 0x43efc7
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x43ef9d
call fcn.0042d532
mov esi, dword [eax + 0xc]
push edi
push dword [0x5ab278]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x43efc3
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x43efcb
xor eax, eax
pop edi
pop esi
leave
ret 8
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x43efe9
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x43efc5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0043ee99
mov esi, eax
jmp 0x43efdb
Function at 0x4408e4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x54
mov eax, 0x54cb8a
call fcn.004fa261
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.0042e7f6
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0042e0d9
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00408a0f
mov edi, vtable.CBitmap.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
push dword [esi + 0x54]
lea eax, [ebp - 0x60]
push dword [esi + 0x50]
lea ecx, [ebp - 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.004089e8
cmp eax, ebx
jne 0x44097b
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0042bb95
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.00401b3f
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0042e74e
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0042e84a
xor eax, eax
call fcn.004fa306
ret 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00408a35
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x40], eax
push 0x5ab45c
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x44], ecx
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.0042e0a1
push ebx
push ecx
push ecx
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], esp
push eax
mov ecx, esi
call fcn.0043e55b
push 0xff
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x3c]
push ebx
push ebx
push eax
mov ecx, esi
call fcn.0043fd7e
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0043ce2b
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.00408a35
call fcn.00401081
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x44093e
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x440a2d
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0042bb95
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x44094b
lea ecx, [ebp - 0x20]
call fcn.0042e9cd
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp eax, ebx
jne 0x440a4f
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0042bb95
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.00401b3f
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0042e74e
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0042e84a
xor eax, eax
inc eax
jmp 0x440973
Function at 0x447e1a
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.0042d532
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 0x447e53
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.00447a6b
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 0x447eb1
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 0x447ed5
cmp dword [edi + 0x54], 0
jne 0x447ed5
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0042d532
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.00447e72
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
Function at 0x4501f4
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xe4]
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x450335
push esi
push edi
push 0x55c098
call fcn.0042bc68
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp + 8], 0
je 0x450284
mov esi, dword [ebx + 0x168]
jmp 0x450270
mov eax, esi
mov edi, dword [eax + 8]
mov esi, dword [esi]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x450270
push edi
call fcn.0040e413
push eax
push 0x5a4d88
call fcn.0042bc86
pop ecx
pop ecx
test eax, eax
je 0x450270
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
test eax, eax
jle 0x450270
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
jne 0x450230
lea ecx, [ebx + 0x164]
call fcn.0047b557
jmp 0x450333
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 8], eax
test eax, eax
je 0x450333
jmp 0x45029a
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0xc8]
call fcn.00406a21
mov esi, dword [eax]
test esi, esi
jne 0x4502b3
xor ebx, ebx
jmp 0x4502b6
mov ebx, dword [esi + 0x20]
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x450329
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x450329
test edi, edi
je 0x4502fb
push esi
push 0x5a4d88
call fcn.0042bc86
mov edx, dword [eax]
pop ecx
pop ecx
mov ecx, eax
call dword [edx + 0x180]
push eax
push 0x55f228
call fcn.0042bc86
pop ecx
pop ecx
test eax, eax
je 0x450329
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebp - 4]
push 0
lea eax, [ebp + 8]
add esi, 0x164
push eax
mov ecx, esi
call fcn.0044f746
test eax, eax
jne 0x450329
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.0044f716
cmp dword [ebp - 8], 0
jne 0x450297
pop edi
pop esi
pop ebx
leave
ret 4