joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42db70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb728
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4e949c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push 0
push 0x30
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
add ecx, 0xffffff89
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
add eax, 0xfffffe9d
push 0xd
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
push eax
push 0
push dword [esi + 4]
call edi
push 0x1e
push 0x77
push 0x163
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0
push dword [esi + 4]
call edi
push 0x4c6830
push 0
push 0xe3
call fcn.00456fa0
add esp, 0xc
mov dword [esi + 0x74], eax
mov ecx, esi
call fcn.0042d270
call fcn.0042d0a0
xor edx, edx
mov dword [ebp - 0x24], 0
mov ecx, dword [eax + 0x40]
test ecx, ecx
mov eax, str.ComputerZTrayMainWndName
cmovne eax, edx
mov edx, str.ComputerZLiteTrayMainWnd
push eax
mov eax, 0x4c6570
cmovne eax, edx
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
jne 0x42dcda
mov dword [ebp - 0x24], 0x80
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x13
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [esi + 4]
call edi
push str.popup_lite_wnd_notopmost
call fcn.0041f600
add esp, 4
mov ecx, dword [esi + 0x24]
lea eax, [esi + 0x24]
push 0
push 0
push eax
call dword [ecx + 0x20]
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x28], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.tipwnd_show
mov dword [ebp - 4], 0
call fcn.00413ec0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00422ee0
push str.show_update_end_tip_wnd.
call fcn.0041f600
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00462391
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x24]
push ecx
push 0x3e8
push 1
push 0
push 0x58
push 0x3524
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x42dd05
mov dword [ebp - 0x24], 0x40
jmp 0x42dc49
cmp dword [ebp - 0x24], 0
jne 0x42dc49
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [esi + 4]
call edi
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [esi + 4]
call edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x42dc72
Function at 0x42de50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb758
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4e949c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [ebp + 0x1c], 0
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x10], eax
jne 0x42df56
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
cmp eax, 0xa1
jne 0x42deac
mov dword [edi + 0x70], 1
mov dword [ebx], 0
cmp dword [edi + 0x70], 0
jne 0x42df45
mov esi, dword [edi + 0x28]
push 0
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.0042e8a0
mov dword [edi + 0x28], esi
test eax, eax
jne 0x42df45
cmp dword [ebp + 0xc], 0x111
jne 0x42df56
mov eax, dword [ebp + 0x10]
mov ecx, 0x7d1
movzx eax, ax
cmp cx, ax
jne 0x42df4c
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call fcn.0042d0a0
mov ecx, eax
call fcn.00428a90
sub esp, 0x28
mov eax, esp
mov dword [ebp + 0xc], esp
mov dword [eax + 0x24], 0
push 1
push 0
push str.tipwnd_click
mov dword [ebp - 4], 0
call fcn.00413ec0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00422ee0
push 0
push 0
push 0x10
push dword [edi + 0x78]
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebx], 0
mov eax, 1
jmp 0x42df58
mov ecx, 0x7d2
cmp cx, ax
je 0x42df30
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword [edi + 0x70], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x430c10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbab0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4e949c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push str.TLudashiFormMain
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
mov dword [0x4ecb34], eax
lea ecx, [ebx + 0x110]
push dword [ebx + 4]
call fcn.0041c690
call fcn.0040c140
mov ecx, eax
test ecx, ecx
je 0x430dc7
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov edi, dword [ebx + 0x7c]
mov dword [ebp - 4], 0
test edi, edi
je 0x430cf8
cmp dword [edi + 0xa4], 0
je 0x430cf8
mov edi, dword [edi + 0x88]
test edi, edi
je 0x430cf8
push edi
call fcn.0042d0a0
mov ecx, eax
call fcn.00428b60
test eax, eax
je 0x430cf8
push dword [edi]
lea eax, [ebp - 0x10]
push str.instsoft
push str._s__s
push eax
call fcn.0040c040
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x14], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0x10]
push 0
push 0
push esi
mov byte [ebp - 4], 1
call fcn.00413ec0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.00422ee0
mov eax, dword [ebx + 0x80]
test eax, eax
je 0x430d66
cmp dword [eax + 0xa4], 0
je 0x430d66
mov edi, dword [eax + 0x88]
test edi, edi
je 0x430d66
push edi
call fcn.0042d0a0
mov ecx, eax
call fcn.00428b60
test eax, eax
je 0x430d66
push dword [edi]
lea eax, [ebp - 0x10]
push str.instsoft
push str._s__s
push eax
call fcn.0040c040
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x14], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0x10]
push 0
push 0
push esi
mov byte [ebp - 4], 2
call fcn.00413ec0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.00422ee0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x14], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.btn_upgrade
mov byte [ebp - 4], 3
call fcn.00413ec0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.00422ee0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x430db1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00401af0
int3
Function at 0x431450
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbbf8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4e949c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.lds_updater
call fcn.00413ec0
mov ecx, eax
call fcn.00423340
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00415660
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.00416460
lea ecx, [ebp - 0x1c]
call fcn.00415e90
test eax, eax
je 0x431510
call fcn.0042d0a0
mov ecx, eax
call fcn.00428520
test eax, eax
je 0x4314cb
push str.new_version_is_null
jmp 0x4314f7
push str.start_download_cfg.
call fcn.0041f600
mov esi, dword [edi + 4]
add esp, 4
call fcn.0042d0a0
lea ecx, [edi + 0x154]
mov dword [eax + 0x48], esi
call fcn.0042c270
test eax, eax
jne 0x43152b
push str.StartDownloadCfg_return_false.
call fcn.0041f600
add esp, 4
push 0
push 0
push 0x10
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x43152b
push str.need_slient_update.
call fcn.0041f600
add esp, 4
lea ecx, [edi + 0x110]
push dword [edi + 4]
call fcn.0041c690
lea ecx, [ebp - 0x1c]
call fcn.00415740
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x431ad0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbc5e
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4e949c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [0x4ecb2c]
test al, 1
jne 0x431b33
or eax, 1
mov dword [0x4ecb2c], eax
mov ecx, 0x4ecb28
mov dword [ebp - 4], 0
call fcn.00433790
push 0x4bf900
call fcn.004629a4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x4ecb28
call fcn.00433870
push 0x4c6bc0
push dword [edi + 4]
lea esi, [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x1e
push 0x21d
push 0x20f
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push dword [esi]
call ebx
push 0x4c6830
push 0
push 0xde
call fcn.00456fa0
add esp, 0xc
mov dword [edi + 0x74], eax
mov ecx, edi
call fcn.0042fe90
call fcn.00420fd0
push 0x4c6830
push 0
push 0xd9
mov dword [edi + 0x78], eax
call fcn.00456fa0
mov ecx, dword [edi + 0x78]
add esp, 0xc
add ecx, 0x24
push 1
mov edx, dword [ecx]
push eax
push 0
push dword [esi]
push ecx
call dword [edx + 4]
mov ecx, edi
call fcn.00430650
push 0
mov ecx, esi
call fcn.0042f690
call fcn.0042d0a0
xor edx, edx
mov dword [ebp - 0x10], 0
mov ecx, dword [eax + 0x40]
test ecx, ecx
mov eax, str.ComputerZTrayMainWndName
cmovne eax, edx
mov edx, str.ComputerZLiteTrayMainWnd
push eax
mov eax, 0x4c6570
cmovne eax, edx
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
jne 0x431c4b
mov dword [ebp - 0x10], 0x80
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 4
push dword [esi]
call edi
push 0x13
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [esi]
call ebx
push str.popup_wnd_notopmost
call fcn.0041f600
add esp, 4
mov ecx, dword [ebp - 0x14]
call fcn.00431de0
push 0
push dword [esi]
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
push ecx
push 0x3e8
push 1
push 0
push 0x58
push 0x3524
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x431c73
mov dword [ebp - 0x10], 0x40
jmp 0x431c02
cmp dword [ebp - 0x10], 0
jne 0x431c02
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 4
push dword [esi]
call edi
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [esi]
call ebx
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [esi]
call ebx
push dword [esi]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x431c2b
Function at 0x432fd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbd80
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4e949c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [edi + 0x30]
or esi, 0xffffffff
sub edx, 0x10
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433013
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x2c]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43302d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x28]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433047
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x24]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433061
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x20]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43307b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x1c]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433095
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x18]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4330af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x14]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4330c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x10]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4330e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0xc]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4330fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 8]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433117
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 4]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433131
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi]
sub edx, 0x10
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x433148
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4368b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc136
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4e949c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x43695c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x43695c
call fcn.00404760
mov edi, eax
jmp 0x436a7b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x43697f
call fcn.00404760
jmp 0x436a6e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x43699d
call fcn.00404760
jmp 0x436a6e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x4369be
mov edi, 0x8007000e
jmp 0x436a70
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x436ab4
jb 0x4369dc
cmp eax, 0xffffffff
ja 0x436ab4
cmp eax, 0x400
jbe 0x4369f1
push eax
lea ecx, [ebp - 0x418]
call fcn.004359e0
jmp 0x436a17
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x436a17
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x436a2e
mov edi, 0x8007000e
jmp 0x436a70
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x436a4e
call fcn.00404760
jmp 0x436a6e
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00436710
mov edi, eax
test esi, esi
je 0x436a7b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x436a94
lea ecx, [ebp - 0x418]
call fcn.00435dc0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00462391
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00401af0
int3
Function at 0x456fa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, word [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x456ff8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x456ff8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x456ff8
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x457001
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x457023
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push ebx
push eax
call fcn.00463f00
add esp, 0xc
mov dword [ebp + 8], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
xor edi, edi
test eax, eax
je 0x45704b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 8]
push eax
push 0
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x457090
mov ebx, dword [ebp + 8]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
test edi, edi
je 0x45708e
lea eax, [ebp - 4]
mov dword [edi], vtable.Gdiplus::Bitmap.0
push eax
push ebx
mov dword [ebp - 4], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [edi + 8], eax
mov eax, dword [ebp - 4]
mov dword [edi + 4], eax
jmp 0x457090
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4570a4
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4570b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4570da
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 4], 0
push dword [ebp + 0x10]
movzx eax, word [ebp + 8]
mov ebx, dword [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
jne 0x4570fa
xor esi, esi
jmp 0x4571f0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x4571f0
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 8], eax
test eax, eax
jne 0x45712b
xor esi, esi
jmp 0x4571f0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x457148
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x4571f0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x457168
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x4571f0
push esi
push dword [ebp + 8]
push eax
call fcn.00463f00
add esp, 0xc
mov dword [ebp + 0x10], 0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 0x10]
xor esi, esi
test eax, eax
je 0x457192
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 0x10]
push eax
push 0
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4571dc
mov eax, dword [ebp + 0x10]
push 0x10
mov dword [ebp + 0xc], eax
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x4571da
lea eax, [ebp + 8]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push dword [ebp + 0xc]
mov dword [ebp + 8], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
jmp 0x4571dc
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4571f0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 4], esi
test esi, esi
jne 0x457200
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x45721a
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [edi + 4]
mov dword [edi + 8], eax
lea eax, [ebp + 0x10]
push eax
mov dword [ebp + 0x10], 0
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x45723d
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov ecx, edi
mov dword [edi + 0xc], eax
call fcn.00456f20
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x45cfc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bee5f
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4e949c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x45d0e3
push eax
push dword [esi + 0xac]
call fcn.00491f26
add esp, 8
test eax, eax
jne 0x45d029
cmp dword [esi + 0xa8], eax
jne 0x45d01f
push dword [esi + 0xac]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45d029
cmp dword [ebp + 0xc], 0
je 0x45d0cf
push ebx
lea ecx, [esi + 0xac]
call fcn.00401960
mov ecx, dword [esi + 0xa8]
test ecx, ecx
je 0x45d04f
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0xa8], 0
mov eax, dword [esi + 0xac]
cmp dword [eax - 0xc], 0
je 0x45d0c1
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45d0c1
push 0x14
call fcn.00462566
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x45d087
mov ecx, eax
call fcn.00456af0
jmp 0x45d089
xor eax, eax
push dword [esi + 0xac]
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0xa8], eax
call fcn.00457260
test al, al
jne 0x45d0c1
mov ecx, dword [esi + 0xa8]
test ecx, ecx
je 0x45d0c1
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0xa8], 0
cmp dword [ebp + 0x10], 0
je 0x45d0cf
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00401af0
int3