Function at 0x479db0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x622e63
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xd4], ebx
mov esi, dword [sym.WnPicViewer.exe_public:_class_UiLib::CControlUI____thiscall_UiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
lea ecx, [ebx + 0x2c]
push str.titleView
call esi
push str.clientView
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x844], eax
call esi
push str.imageView
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x848], eax
call esi
push str.title_name
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x84c], eax
call esi
push 0
push 0
push 0
push 0
push 0x4795a7
mov dword [ebx + 0x850], eax
lea eax, [ebp - 0xc8]
push ebx
push eax
call fcn.00478d50
add esp, 0x1c
mov ecx, dword [ebx + 0x850]
push eax
add ecx, 0x130
mov dword [ebp - 4], 0
call fcn.00479510
mov dword [ebp - 0xc8], vtable.UiLib::CDelegateBase.0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 1
call dword [0x693a98]
mov esi, dword [sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CDuiString::Empty_void_]
test al, al
jne 0x479e91
lea ecx, [ebp - 0xb0]
call esi
mov edi, dword [sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CDuiString::destructor_void_]
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
call edi
push 0
push 0
push 0
push 0
push 0x4795a7
lea eax, [ebp - 0xc8]
push ebx
push eax
call fcn.00478d50
add esp, 0x1c
mov ecx, dword [ebx + 0x844]
push eax
add ecx, 0x130
mov dword [ebp - 4], 2
call fcn.00479510
mov dword [ebp - 0xc8], vtable.UiLib::CDelegateBase.0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 3
call dword [0x693a98]
test al, al
jne 0x479f05
lea ecx, [ebp - 0xb0]
call esi
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
call edi
push 0
push 0
push 0
push 0
push 0x4795a7
lea eax, [ebp - 0xc8]
push ebx
push eax
call fcn.00478d50
add esp, 0x1c
mov ecx, dword [ebx + 0x848]
push eax
add ecx, 0x130
mov dword [ebp - 4], 4
call fcn.00479510
mov dword [ebp - 0xc8], vtable.UiLib::CDelegateBase.0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 5
call dword [0x693a98]
test al, al
jne 0x479f73
lea ecx, [ebp - 0xb0]
call esi
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
call edi
push 0
push 0
push 0
push 0
push 0x47959f
lea eax, [ebp - 0xc8]
push ebx
push eax
call fcn.00478d50
add esp, 0x1c
mov ecx, dword [ebx + 0x84c]
push eax
add ecx, 0x130
mov dword [ebp - 4], 6
call fcn.00479510
mov dword [ebp - 0xc8], vtable.UiLib::CDelegateBase.0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 7
call dword [0x693a98]
test al, al
jne 0x479fe1
lea ecx, [ebp - 0xb0]
call esi
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
call edi
push 0
push 0x479597
lea eax, [ebp - 0xc8]
push ebx
push eax
call fcn.00478d20
add esp, 0x10
mov ecx, dword [ebx + 0x84c]
push eax
add ecx, 0x148
mov dword [ebp - 4], 8
call fcn.00479510
mov dword [ebp - 0xc8], vtable.UiLib::CDelegateBase.0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 9
call dword [0x693a98]
test al, al
jne 0x47a049
lea ecx, [ebp - 0xb0]
call esi
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
call edi
push dword [ebx + 0x994]
mov ecx, dword [ebx + 0x850]
call dword [0x693ab8]
push 0x643d24
push str.CROP_BG
push dword [0x6f06b8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x47a12f
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 - 0xd0]
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x47a121
mov ecx, dword [ebp - 0xd0]
lea eax, [ebp - 0xcc]
push eax
push ecx
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [ebp - 0xcc], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp - 0xcc]
mov dword [esi + 4], eax
jmp 0x47a123
xor esi, esi
mov eax, dword [ebp - 0xd4]
mov dword [eax + 0x99c], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret