joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a25e
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
xor edi, edi
push 0x206
mov esi, eax
lea eax, [ebp - 0x20e]
push edi
push eax
mov dword [ebp - 4], edi
mov word [ebp - 0x210], di
call fcn.0049bf00
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x43a2ea
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadImageToMem_CreateFile_error:_d__path:_ws
mov esi, 0x61f638
call fcn.004870fe
add esp, 0xc
jmp 0x43a362
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
push eax
push edi
push 2
push edi
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp ebx, edi
mov dword [esi], eax
jne 0x43a31d
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileByMem_CreateFileMapping_error:_d__path:_ws
jmp 0x43a345
push dword [esi + 8]
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov dword [esi + 4], eax
jne 0x43a354
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileByMem_MapViewOfFile_error:_d__path:_ws
mov esi, 0x61f638
call fcn.004870fe
add esp, 0xc
jmp 0x43a35b
mov dword [ebp - 4], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43a7c5
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x43a836
xor eax, eax
mov dword [ebp - 0xc], esi
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x43a836
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 8], eax
and dword [ebp - 8], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], esi
fild qword [ebp - 0x14]
fild qword [ebp - 0xc]
fchs
faddp st(1)
fcomp qword [0x5f2f28]
fnstsw ax
test ah, 1
jne 0x43a836
inc esi
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x43b3ea
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x599c3f
call fcn.00595190
push ecx
push ecx
mov eax, dword [0x61b884]
push ebx
push esi
push edi
mov ecx, 0x61b884
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x10]
push eax
push str.SOFTWAREcmpc
mov ecx, str.ProgramPath
call fcn.0043b288
test eax, eax
je 0x43b434
lea ecx, [ebp - 0x10]
call fcn.0043b381
test eax, eax
mov ebx, eax
je 0x43b4cf
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
push eax
call fcn.00432a8a
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x10]
push ecx
lea eax, [esi - 0x10]
mov dword [ebp + 8], esp
mov edi, esp
call fcn.0040135c
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0
call fcn.0043aac0
mov ebx, eax
test ebx, ebx
je 0x43b4d2
mov eax, dword [esi - 0xc]
mov ecx, dword [0x61f910]
cmp eax, dword [ecx - 0xc]
jl 0x43b4d2
lea eax, [ebp - 0x10]
mov edi, 0x61f910
call fcn.004013b4
push str.product_tag_cmpc_ch.tag
lea eax, [ebp - 0x10]
call fcn.0041657b
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43b4c3
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x43b4c3
mov dword [0x61f90c], 0x12
jmp 0x43b4d2
mov dword [0x61f90c], 0x65
jmp 0x43b4d2
mov esi, dword [ebp - 0x10]
lea eax, [esi - 0x10]
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x43c1fd
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x59ac66
call fcn.00595190
push edi
push 0x12c
xor edi, edi
push edi
push edi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], 1
call fcn.004846e4
add esp, 0x14
test eax, eax
jne 0x43c23a
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43c23a
inc edi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov eax, edi
mov dword fs:[0], ecx
pop edi
leave
ret

Function at 0x43c992
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x5980d9
call fcn.00595190
push ebx
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43c9ed
cmp dword [ebp + 0xc], 0
je 0x43c9ed
push dword [ebp + 8]
call fcn.0044908f
pop ecx
call fcn.00417ca4
mov ebx, eax
call fcn.00417e05
push 0x1770
call fcn.00448e6e
mov dword [esp], 0x1771
call fcn.00441875
mov dword [esp], 0x1772
call fcn.0044144e
jmp 0x43ca0f
push 0x2710
call fcn.00441875
mov dword [esp], 0x2711
call fcn.0044144e
mov dword [esp], 0x2712
call fcn.00448e6e
mov eax, dword [ebp + 8]
pop ecx
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x43caaf
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x59b2a9
call fcn.00595190
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
xor ebx, ebx
call fcn.0040135c
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push esi
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0048019f
pop ecx
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
test edi, edi
je 0x43cb3d
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov edi, esp
call fcn.0040135c
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov edi, esp
call fcn.0040135c
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
call fcn.0043c1fd
pop ecx
pop ecx
mov ebx, eax
lea eax, [esi - 0x10]
call fcn.004011c0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x43dba3
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x61e5bc]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
je 0x43dbc0
mov edi, dword [eax + 4]
jmp 0x43dbc2
xor edi, edi
cmp edi, esi
jne 0x43dbd2
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
cmp edi, esi
je 0x43dbf7
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x43dbf7
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43dbf7
push esi
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push edi
mov ecx, ebx
mov dword [ebx + 0x4d0], esi
call fcn.0043dff9
cmp eax, esi
mov dword [esp + 0x18], eax
jne 0x43dc1d
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x43dd1f
mov edx, eax
call fcn.0041a61d
mov dword [esp + 0x20], eax
mov eax, edi
call fcn.0040eca1
cmp dword [ebx + 0x4c0], esi
je 0x43dcc2
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp ebp, dword [esp + 0x14]
je 0x43dc87
push 1
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x14]
je 0x43dca3
push esi
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x43dcc2
push esi
push esi
push 0xf
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 4]
mov dword [ebx + 0x4d0], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x1c], esi
je 0x43dd07
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, esi
je 0x43dd07
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x43dd07
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0041a61d
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x4d4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x43ddaf
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x61e5bc]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
je 0x43ddcc
mov ebp, dword [eax + 4]
jmp 0x43ddce
xor ebp, ebp
cmp ebp, esi
jne 0x43ddde
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, eax
cmp ebp, esi
je 0x43de03
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebp, eax
je 0x43de03
push ebp
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43de03
push esi
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push ecx
mov eax, esp
mov dword [ebx + 0x51c], esi
push ebp
mov dword [eax], esi
call fcn.0043e191
cmp eax, esi
mov dword [esp + 0x18], eax
jne 0x43de2c
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x43df08
mov edx, eax
call fcn.0041a61d
mov dword [esp + 0x20], eax
mov eax, ebp
call fcn.0040eca1
cmp dword [ebx + 0x510], esi
je 0x43deae
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp edi, dword [esp + 0x14]
je 0x43de92
push 1
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp edi, dword [esp + 0x14]
je 0x43deae
push esi
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, ebx
call fcn.0043e347
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 4]
mov dword [ebx + 0x51c], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x1c], esi
je 0x43def3
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, esi
je 0x43def3
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x43def3
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0041a61d
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x43fca0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x596bed
call fcn.00595190
sub esp, 0x418
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call dword [0x60b0b4]
xor esi, esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x424], esi
push 2
push esi
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x14], ebx
jne 0x43fcf8
call fcn.00449227
mov esi, eax
jmp 0x43fdf9
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x43fd15
call fcn.00449227
jmp 0x43fdee
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp + 0xc], eax
je 0x43fd0b
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
cmp eax, edi
mov dword [ebp + 8], edi
jae 0x43fd5b
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x43fd51
lea eax, [ebp - 0x424]
call fcn.00440dba
mov eax, 0x8007000e
jmp 0x43fe14
push 2
push eax
mov byte [ebp - 4], 2
call fcn.0043fe25
cmp eax, 0x400
pop ecx
pop ecx
jbe 0x43fd7f
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.00440dc3
jmp 0x43fd8b
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 1
jmp 0x43fda6
mov ebx, dword [ebp - 0x424]
cmp ebx, esi
jne 0x43fdb7
mov esi, 0x8007000e
jmp 0x43fdf0
call dword [0x60b0b4]
push edi
push ebx
push edi
push dword [ebp + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x43fd0b
mov ecx, dword [ebp - 0x424]
push dword [ebp + 0x18]
mov word [ecx + eax*2], si
mov ecx, dword [ebp - 0x424]
lea edx, [ebp - 0x1c]
call fcn.0043fe4a
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x43fe12
lea eax, [ebp - 0x424]
call fcn.00440dba
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14
Function at 0x440d45
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x440d58
push 0x80004005
call fcn.00401313
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x440d5f
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x440d8f
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc

Function at 0x440e59
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [ecx]
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0xc]
push ecx
push 0x2001f
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 8], esi
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
cmp edi, esi
jne 0x440f20
xor eax, eax
cmp dword [ebp - 8], esi
je 0x440ea2
push dword [ebp - 8]
call ebx
cmp eax, esi
mov ecx, dword [ebp - 0xc]
mov edi, eax
mov dword [ebp - 8], ecx
jne 0x440f20
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push ecx
jmp 0x440ef6
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 8]
call fcn.00440e59
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x440f33
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 8]
mov dword [ebp - 0x10], 0x100
call edi
test eax, eax
je 0x440eca
cmp dword [ebp - 8], esi
je 0x440f10
push dword [ebp - 8]
call ebx
mov dword [ebp - 8], esi
push dword [ebp + 8]
mov eax, dword [ebp - 0x14]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
cmp dword [ebp - 8], esi
je 0x440f2a
push dword [ebp - 8]
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 8], esi
je 0x440f3d
push dword [ebp - 8]
call ebx
mov eax, dword [ebp - 0xc]
jmp 0x440f2c
Function at 0x443611
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x5979e3
call fcn.00595190
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
fld1
fstp qword [esi + 0x10]
mov dword [esi], vtable.CBkPngSkin.0
mov dword [esi + 8], 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 + 0x48], edi
mov eax, vtable.CBkBitmap.0
mov dword [esi + 0x44], eax
mov dword [esi + 0x54], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], eax
mov dword [esi + 0x6c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov byte [ebp - 4], 2
mov dword [esi + 0x70], edi
call fcn.004472c2
lea ecx, [esi + 0x78]
mov dword [ecx], eax
mov byte [eax + 0x15], 1
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov ecx, dword [ecx]
mov dword [ecx + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x7c], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4449dc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
push esi
mov ebx, ecx
mov esi, dword [ebx + 8]
push edi
xor edi, edi
cmp esi, edi
je 0x444b82
cmp dword [ebx + 0x3c], edi
je 0x444a06
push 4
call fcn.004441dc
push dword [ebp + 8]
lea esi, [esp + 0x2c]
call fcn.004320eb
mov esi, dword [ebx + 8]
call fcn.00424b06
mov esi, dword [ebx + 8]
mov dword [esp + 0x18], eax
call fcn.00424ae6
fld1
fst dword [esp + 0x30]
mov dword [esp + 0x1c], eax
fldz
movzx eax, byte [ebp + 0x10]
fst dword [esp + 0x34]
mov dword [esp + 0x10], eax
fst dword [esp + 0x38]
lea eax, [esp + 0x20]
fst dword [esp + 0x3c]
push eax
fst dword [esp + 0x44]
mov dword [esp + 0x24], edi
fst dword [esp + 0x48]
fst dword [esp + 0x50]
fst dword [esp + 0x54]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fst dword [esp + 0x68]
fst dword [esp + 0x6c]
fst dword [esp + 0x70]
fst dword [esp + 0x74]
fst dword [esp + 0x78]
fxch st(1)
fst dword [esp + 0x4c]
fst dword [esp + 0x64]
fild dword [esp + 0x14]
fdiv qword [0x5f2f70]
fstp dword [esp + 0x7c]
fxch st(1)
fst dword [esp + 0x80]
fst dword [esp + 0x84]
fst dword [esp + 0x88]
fst dword [esp + 0x8c]
fstp dword [esp + 0x90]
fstp dword [esp + 0x94]
call sub.gdiplus.dll_GdipCreateImageAttributes
mov dword [esp + 0x24], eax
push 1
lea eax, [esp + 0x34]
push eax
lea esi, [esp + 0x28]
call fcn.00426be1
mov dword [esp + 0xc], edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 8]
sub eax, dword [edi]
cmp dword [esp + 0x18], eax
jg 0x444b60
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0xc]
sub ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x1c]
and dword [esp + 0x14], 0
cmp ecx, dword [esp + 0x10]
jg 0x444b49
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x1c]
add eax, ecx
push eax
mov eax, dword [edi]
add eax, dword [esp + 0x18]
lea esi, [esp + 0x34]
push eax
mov eax, dword [ebx + 8]
call fcn.00424b26
mov edx, dword [esp + 0x1c]
add dword [esp + 0x14], edx
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0xc]
mov esi, dword [esp + 0x14]
sub ecx, eax
add esi, edx
cmp esi, ecx
mov dword [esp + 0x10], ecx
jle 0x444b09
mov ecx, dword [esp + 0x18]
add dword [esp + 0xc], ecx
mov edx, dword [edi + 8]
mov esi, dword [esp + 0xc]
sub edx, dword [edi]
add esi, ecx
cmp esi, edx
jle 0x444afa
cmp dword [ebx + 0x3c], 0
je 0x444b70
mov esi, dword [ebx + 8]
push 4
call fcn.004441dc
push dword [esp + 0x20]
call sub.gdiplus.dll_GdipDisposeImageAttributes
push dword [esp + 0x28]
call sub.gdiplus.dll_GdipDeleteGraphics
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x445189
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x598a9d
call fcn.00595190
sub esp, 0x220
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 0x18], esi
jne 0x4451b9
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
mov eax, dword [0x61b884]
mov ecx, 0x61b884
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x206
lea eax, [ebp - 0x22a]
push esi
mov dword [ebp - 4], esi
push eax
mov word [ebp - 0x22c], si
call fcn.0049bf00
add esp, 0xc
push 0x104
lea eax, [ebp - 0x22c]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x22c]
push eax
call fcn.0049be03
pop ecx
lea ecx, [ebp - 0x22c]
mov ebx, eax
push ecx
lea eax, [ebp - 0x14]
call fcn.004013f5
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00432a64
push 0x2e
lea esi, [ebp - 0x14]
call fcn.0043295f
cmp eax, 0xffffffff
je 0x44526b
mov ecx, eax
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.004328d3
mov edi, esi
mov byte [ebp - 4], 1
call fcn.004013b4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011c0
mov edi, dword [ebp + 8]
mov eax, dword [0x61b884]
mov ecx, 0x61b884
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
fld1
lea eax, [ebp - 0x14]
fstp qword [ebp - 0x24]
push eax
push edi
lea ecx, [ebp + 8]
call fcn.00445363
test eax, eax
jne 0x4452ba
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
jmp 0x4451a6
mov ebx, dword [ebp + 8]
push 0x5ed9a0
push ebx
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4452d7
lea eax, [ebx - 0x10]
jmp 0x4452a5
push esi
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x44529f
push esi
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x44529f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x445325
xor esi, esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, esi
jmp 0x4451a8
mov esi, dword [ebp + 0x10]
lea edi, [ebx + 1]
push edi
call fcn.0041c38e
test eax, eax
je 0x445342
push ebx
push dword [ebp + 0xc]
push eax
call fcn.0049e740
add esp, 0xc
mov eax, edi
call fcn.0041947f
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x44535e
fld qword [ebp - 0x24]
fstp qword [eax]
xor esi, esi
inc esi
jmp 0x445308