joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ad0c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x626b0b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6e4770]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.ElementBase.0
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp ecx, eax
je 0x4ad119
push 0xffffffffffffffff
push 0
push eax
call fcn.00470350
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [esi + 0x1c], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x20], eax
mov eax, dword [ecx + 8]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0x28], eax
xor eax, eax
mov dword [esi + 0x2c], 3
mov dword [esi + 0x30], 0
mov byte [esi + 0x34], 1
mov dword [esi], vtable.ButtonElement.0
mov dword [esi + 0x5c], 7
mov dword [esi + 0x58], 0
mov word [esi + 0x48], ax
mov dword [esi + 0x44], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4ae0a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
sub eax, 0x113
je 0x4ae198
sub eax, 0xee
je 0x4ae16f
dec eax
jne 0x4ae1a0
mov eax, dword [ebp + 0x10]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [esi + 0x824], 0
je 0x4ae138
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, dword [esi + 0x824]
test eax, eax
je 0x4ae11b
push dword [esi + 0x82c]
jmp 0x4ae121
push dword [esi + 0x828]
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CChartXYAxis::SetMaxDataLabelWidth_unsigned_int_
mov ecx, dword [esi + 0x824]
call fcn.004b0620
mov byte [esi + 0x830], 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x838]
call fcn.0048bb50
test al, al
je 0x4ae161
mov ecx, dword [esi + 0x838]
push 0
call fcn.00491190
jmp 0x4ae1a0
call fcn.004785e0
mov ecx, eax
call fcn.004878b0
jmp 0x4ae1a0
mov ecx, dword [esi + 0x824]
test ecx, ecx
je 0x4ae1a0
push dword [esi + 0x82c]
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CChartXYAxis::SetMaxDataLabelWidth_unsigned_int_
mov ecx, dword [esi + 0x824]
call fcn.004b0620
mov byte [esi + 0x830], 1
jmp 0x4ae1a0
push dword [ebp + 0xc]
call fcn.004ae350
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x693b5c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ae1d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push esi
cmovae eax, dword [ebp + 8]
push edi
push 0x643d24
push eax
push dword [0x6f06b8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4ae280
push ebx
push esi
push dword [0x6f06b8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [0x6f06b8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push edi
push eax
call fcn.0052e410
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 4]
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edi, dword [ebp - 4]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
pop ebx
test esi, esi
je 0x4ae280
lea eax, [esi + 4]
mov dword [esi], vtable.Gdiplus::Image.0
push eax
push edi
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [esi + 8], eax
jmp 0x4ae282
xor esi, esi
cmp dword [ebp + 0x1c], 8
jb 0x4ae293
push dword [ebp + 8]
call fcn.0052d900
add esp, 4
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4ae2a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 0x14]
mov edi, ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x693b74]
push 0xfffffffffffffff0
mov ecx, edi
call dword [0x693af0]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3bffff
mov ecx, edi
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call dword [0x693af0]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [edi + 0x824]
test ecx, ecx
je 0x4ae339
push dword [edi + 4]
call fcn.004b0140
sub esp, 0x18
mov ecx, esp
push 0x645bd4
call fcn.0046e770
mov ecx, dword [edi + 0x824]
push 0xe
call fcn.004b04c0
mov ecx, dword [edi + 0x824]
push 0x959594
call fcn.004b05e0
mov ecx, dword [edi + 0x824]
push 0xfffffffffffffffe
push 0xf
call fcn.004b05f0
mov ecx, edi
call fcn.004ae620
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop edi
pop ebp
ret 0x10
Function at 0x4ae350
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x834]
cmp eax, dword [ebp + 8]
jne 0x4ae3d1
mov ecx, dword [esi + 0x824]
call fcn.004b04a0
cmp byte [esi + 0x831], 0
je 0x4ae393
add al, 5
mov byte [ebp + 8], al
cmp al, 0xff
jb 0x4ae3b8
push dword [esi + 0x834]
mov byte [ebp + 8], 0xff
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x4ae3b8
add al, 0xfb
mov byte [ebp + 8], al
jne 0x4ae3b8
push dword [esi + 0x834]
mov byte [ebp + 8], 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
mov ecx, dword [esi + 0x824]
call fcn.004b0610
mov ecx, dword [esi + 0x824]
call fcn.004b0620
pop esi
pop ebp
ret 4

Function at 0x4afd80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62d017
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6e4770]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x28], 7
mov dword [esi + 0x24], 0
mov word [esi + 0x14], ax
mov dword [esi + 0x44], 7
mov dword [esi + 0x40], eax
mov dword [ebp - 4], eax
mov word [esi + 0x30], ax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
push 0x6493bc
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0x190
push eax
push eax
push eax
push 0x12
mov byte [ebp - 4], 2
mov dword [esi + 0x2c], eax
call dword [sym.imp.GDI32.dll_CreateFontW]
push 0x3c
mov dword [esi + 4], eax
call fcn.0052d905
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4afe29
mov ecx, eax
call fcn.004b79b0
jmp 0x4afe2b
xor eax, eax
push 0x24
mov byte [ebp - 4], 2
mov dword [esi], eax
call fcn.0052d905
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x4afe4f
mov ecx, eax
call fcn.004b7680
jmp 0x4afe51
xor eax, eax
push 0x641e10
push 0
mov dword [esi + 8], eax
call fcn.0053384f
add esp, 8
mov word [esi + 0x50], 0xff00
mov dword [esi + 0x48], 0
mov eax, esi
mov dword [esi + 0x4c], 0
mov dword [esi + 0x54], 0xffffff
mov dword [esi + 0x64], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4b12f0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [eax]
mov esi, ecx
cmp eax, 0xd
jne 0x4b1325
lea eax, [esi + 0x868]
mov byte [esi + 0x85d], 1
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
jmp 0x4b13a0
cmp eax, 9
jne 0x4b138f
cmp byte [esi + 0x85d], 0
je 0x4b13a0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp - 0x1c]
mov ebx, ecx
mov eax, dword [ebp - 0x18]
mov edi, eax
sub ebx, dword [esi + 0x868]
sub edi, dword [esi + 0x86c]
mov dword [esi + 0x868], ecx
mov dword [esi + 0x86c], eax
test ebx, ebx
jne 0x4b1367
test edi, edi
je 0x4b13a0
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
add edi, dword [ebp - 0x10]
add ebx, dword [ebp - 0x14]
push 0x19
push 0
push 0
push edi
push ebx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4b13a0
cmp eax, 0xe
je 0x4b1399
cmp eax, 0xa
jne 0x4b13a0
mov byte [esi + 0x85d], 0
mov ecx, dword [esi + 0x840]
call dword [0x693a60]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4b1b40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x848]
cmp eax, ecx
jne 0x4b1bde
cmp byte [esi + 0x840], 0
je 0x4b1b9b
add dword [esi + 0x844], 0xa
cmp dword [esi + 0x844], 0xff
jle 0x4b1bca
push eax
push dword [esi + 4]
mov dword [esi + 0x844], 0xff
call dword [sym.imp.USER32.dll_KillTimer]
push dword [esi + 0x844]
lea ecx, [esi + 0x2c]
call dword [0x693bb4]
pop esi
pop ebp
ret 4
add dword [esi + 0x844], 0xfffffffb
cmp dword [esi + 0x844], 0
jg 0x4b1bca
push eax
push dword [esi + 4]
mov dword [esi + 0x844], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x844]
lea ecx, [esi + 0x2c]
call dword [0x693bb4]
pop esi
pop ebp
ret 4
cmp dword [esi + 0x84c], ecx
jne 0x4b1bf5
mov ecx, dword [esi + 0x850]
test ecx, ecx
je 0x4b1bf5
call fcn.0048be70
pop esi
pop ebp
ret 4

Function at 0x4b1c00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push esi
mov esi, ecx
cmp byte [esi + 0x840], al
je 0x4b1c74
mov byte [esi + 0x840], al
test al, al
je 0x4b1c3b
push 0
lea ecx, [esi + 0x2c]
mov dword [esi + 0x844], 0
call dword [0x693bb4]
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x848]
test eax, eax
je 0x4b1c4f
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp byte [esi + 0x840], 0
push 0
je 0x4b1c5e
push 5
jmp 0x4b1c60
push 0xf
push 0x465
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x848], eax
pop esi
pop ebp
ret 4
Function at 0x4b22e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x840]
cmp eax, ecx
jne 0x4b237e
cmp byte [esi + 0x848], 0
je 0x4b233b
add dword [esi + 0x84c], 0xa
cmp dword [esi + 0x84c], 0xff
jle 0x4b236a
push eax
push dword [esi + 4]
mov dword [esi + 0x84c], 0xff
call dword [sym.imp.USER32.dll_KillTimer]
push dword [esi + 0x84c]
lea ecx, [esi + 0x2c]
call dword [0x693bb4]
pop esi
pop ebp
ret 4
add dword [esi + 0x84c], 0xfffffffb
cmp dword [esi + 0x84c], 0
jg 0x4b236a
push eax
push dword [esi + 4]
mov dword [esi + 0x84c], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x84c]
lea ecx, [esi + 0x2c]
call dword [0x693bb4]
pop esi
pop ebp
ret 4
cmp dword [esi + 0x844], ecx
jne 0x4b2395
mov ecx, dword [esi + 0x850]
test ecx, ecx
je 0x4b2395
call fcn.0048e830
pop esi
pop ebp
ret 4

Function at 0x4b23a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push esi
mov esi, ecx
cmp byte [esi + 0x848], al
je 0x4b2414
mov byte [esi + 0x848], al
test al, al
je 0x4b23db
push 0
lea ecx, [esi + 0x2c]
mov dword [esi + 0x84c], 0
call dword [0x693bb4]
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x840]
test eax, eax
je 0x4b23ef
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp byte [esi + 0x848], 0
push 0
je 0x4b23fe
push 5
jmp 0x4b2400
push 0xf
push 0x465
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x840], eax
pop esi
pop ebp
ret 4

Function at 0x4b2ea0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x86c]
cmp eax, dword [ebp + 8]
jne 0x4b2f37
cmp byte [esi + 0x870], 0
je 0x4b2ef9
add dword [esi + 0x874], 5
cmp dword [esi + 0x874], 0xff
jle 0x4b2f28
push eax
push dword [esi + 4]
mov dword [esi + 0x874], 0xff
call dword [sym.imp.USER32.dll_KillTimer]
push dword [esi + 0x874]
lea ecx, [esi + 0x2c]
call dword [0x693bb4]
pop esi
pop ebp
ret 4
add dword [esi + 0x874], 0xfffffffb
cmp dword [esi + 0x874], 0
jg 0x4b2f28
push eax
push dword [esi + 4]
mov dword [esi + 0x874], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x874]
lea ecx, [esi + 0x2c]
call dword [0x693bb4]
pop esi
pop ebp
ret 4

Function at 0x4b2f40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push esi
mov esi, ecx
cmp byte [esi + 0x870], al
je 0x4b2fb3
mov byte [esi + 0x870], al
test al, al
je 0x4b2f7d
push 0
lea ecx, [esi + 0x2c]
mov dword [esi + 0x874], 0
call dword [0x693bb4]
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4b2f87
mov dword [esi + 0x874], 0xff
mov eax, dword [esi + 0x86c]
test eax, eax
je 0x4b2f9b
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0xa
push 0x465
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x86c], eax
pop esi
pop ebp
ret 4
Function at 0x4b44d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x86c]
cmp eax, dword [ebp + 8]
jne 0x4b4567
cmp byte [esi + 0x870], 0
je 0x4b4529
add dword [esi + 0x874], 0xa
cmp dword [esi + 0x874], 0xff
jle 0x4b4558
push eax
push dword [esi + 4]
mov dword [esi + 0x874], 0xff
call dword [sym.imp.USER32.dll_KillTimer]
push dword [esi + 0x874]
lea ecx, [esi + 0x2c]
call dword [0x693bb4]
pop esi
pop ebp
ret 4
add dword [esi + 0x874], 0xfffffffb
cmp dword [esi + 0x874], 0
jg 0x4b4558
push eax
push dword [esi + 4]
mov dword [esi + 0x874], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x874]
lea ecx, [esi + 0x2c]
call dword [0x693bb4]
pop esi
pop ebp
ret 4

Function at 0x4b4ea0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62ffbb
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6e4770]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xor eax, eax
mov dword [edi + 0x60], 7
mov dword [edi + 0x5c], 0
mov word [edi + 0x4c], ax
push 0xffae00
mov dword [ebp - 4], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x7c], eax
mov byte [edi + 0x10], al
mov dword [edi + 0x14], 7
mov dword [edi + 0x18], eax
mov dword [edi], 0xffffd8f1
mov dword [edi + 4], 0xffffd8f1
mov dword [edi + 8], 0xffffd8f1
mov dword [edi + 0xc], 0xffffd8f1
mov dword [edi + 0x2c], 0xffffd8f1
mov dword [edi + 0x30], 0xffffd8f1
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xffae00
push 1
push 0
mov dword [edi + 0x20], eax
call dword [sym.imp.GDI32.dll_CreatePen]
sub esp, 0x18
mov dword [edi + 0x24], eax
mov ecx, esp
mov byte [edi + 0x28], 0
xor eax, eax
push 7
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.CROP_BG
mov word [ecx], ax
call fcn.00470470
mov ecx, edi
call fcn.004b5540
push 0x6493bc
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xc
call dword [sym.imp.GDI32.dll_CreateFontW]
push 0
push 0x642138
lea ecx, [edi + 0x4c]
mov dword [edi + 0x48], eax
call fcn.00470470
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4b5540
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push esi
cmovae eax, dword [ebp + 8]
push 0x643d24
push eax
push dword [0x6f06b8]
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4b5605
push ebx
push edi
push esi
push dword [0x6f06b8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [0x6f06b8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push edi
push eax
call fcn.0052e410
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 8]
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
pop edi
pop ebx
test esi, esi
je 0x4b55fd
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push ecx
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [ebp - 4], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
jmp 0x4b55ff
xor esi, esi
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x44], esi
cmp dword [ebp + 0x1c], 8
pop esi
jb 0x4b5617
push dword [ebp + 8]
call fcn.0052d900
add esp, 4
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4b5680
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1c]
call dword [0x693a60]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b56a0
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [ebp + 8]
mov ecx, esi
mov byte [esi + 0x28], 0
call fcn.004b5070
push eax
mov ecx, esi
call fcn.004b6df0
mov ecx, dword [esi + 0x7c]
call dword [0x693a60]
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 4

Function at 0x4b56d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
call fcn.004b5070
push eax
mov ecx, esi
call fcn.004b6df0
cmp byte [esi + 0x28], 0
je 0x4b572a
mov ecx, dword [edi]
mov eax, ecx
sub eax, dword [esi + 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [edi + 4]
sub eax, dword [esi + 0x30]
mov dword [ebp - 4], eax
mov dword [esi + 0x2c], ecx
mov ecx, esi
mov eax, dword [edi + 4]
mov dword [esi + 0x30], eax
lea eax, [ebp - 8]
push eax
call fcn.004b6ea0
mov ecx, dword [esi + 0x7c]
call dword [0x693a60]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4b6e80
Capabilities:
Hide graphical window

Disassembly:
mov byte [ecx + 0x10], 0
mov ecx, dword [ecx + 0x7c]
call dword [0x693a60]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x4ba400
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
mov byte [edi], al
lea ecx, [edi + 0x78]
movzx eax, byte [esi + 1]
mov byte [edi + 1], al
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
movsd xmm0, qword [esi + 0x50]
movsd qword [edi + 0x50], xmm0
mov eax, dword [esi + 0x58]
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x5c], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x64]
mov dword [edi + 0x64], eax
lea eax, [esi + 0x78]
movdqu xmm0, xmmword [esi + 0x68]
push eax
movdqu xmmword [edi + 0x68], xmm0
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CDuiString::constructor_class_UiLib::CDuiString_const__
mov eax, dword [esi + 0xfc]
mov dword [edi + 0xfc], eax
mov eax, edi
movdqu xmm0, xmmword [esi + 0x100]
movdqu xmmword [edi + 0x100], xmm0
movdqu xmm0, xmmword [esi + 0x110]
movdqu xmmword [edi + 0x110], xmm0
movdqu xmm0, xmmword [esi + 0x120]
movdqu xmmword [edi + 0x120], xmm0
pop edi
pop esi
pop ebp
ret 4
Function at 0x4bbcd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63107e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6e4770]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
mov dword [edi], vtable.UiLib::CWindowWnd.0
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
movzx eax, byte [esi + 0xc]
mov byte [edi + 0xc], al
movzx eax, byte [esi + 0xd]
mov byte [edi + 0xd], al
lea eax, [esi + 0x14]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0x14]
mov dword [edi + 0x10], vtable.ReceiverImpl.0
call fcn.004b9f10
mov dword [edi + 0x20], vtable.UiLib::INotifyUI.0
lea ecx, [edi + 0x3c]
mov dword [edi + 0x24], vtable.UiLib::IDialogBuilderCallback.0
mov dword [edi], sym.WnPicViewer.exe_const_UiLib::CMenuWnd::vftablefor__UiLib::CWindowWnd
mov dword [edi + 0x10], vtable.UiLib::CMenuWnd.1.0
mov dword [edi + 0x20], vtable.UiLib::CMenuWnd.2.0
mov dword [edi + 0x24], vtable.UiLib::CMenuWnd.3.0
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
movzx eax, byte [esi + 0x34]
mov byte [edi + 0x34], al
movzx eax, byte [esi + 0x35]
mov byte [edi + 0x35], al
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
lea eax, [esi + 0x3c]
push eax
mov byte [ebp - 4], 1
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CPaintManagerUI::constructor_class_UiLib::CPaintManagerUI_const__
mov eax, dword [esi + 0x834]
lea ecx, [edi + 0x83c]
mov dword [edi + 0x834], eax
mov eax, dword [esi + 0x838]
mov dword [edi + 0x838], eax
lea eax, [esi + 0x83c]
push eax
mov byte [ebp - 4], 2
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CShadowUI::constructor_class_UiLib::CShadowUI_const__
mov eax, dword [esi + 0x908]
mov dword [edi + 0x908], eax
mov eax, dword [esi + 0x90c]
mov dword [edi + 0x90c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4