Function at 0x4748e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65502e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6ece84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx]
test ecx, ecx
je 0x47491c
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx], 0
mov eax, dword [ebp + 8]
xor ecx, ecx
shr eax, 0x10
cmp cx, ax
je 0x47499b
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x47497a
lea eax, [esi + 4]
mov dword [esi], 0x68126c
push eax
mov dword [eax], 0
push dword [ebp + 8]
call sub.gdiplus.dll_GdipLoadImageFromFile
mov dword [esi + 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov dword [ebx], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [0x6f38d0]
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x4749de
push edi
push dword [0x6f38d0]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x474a14
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4749fe
push esi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
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 8
push edi
push dword [0x6f38d0]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push eax
push 2
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4749de
push esi
call dword [sym.imp.KERNEL32.DLL_LockResource]
push dword [ebp - 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push eax
call fcn.006072a0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x474a9b
mov ecx, dword [ebp - 0x10]
lea eax, [edi + 4]
push eax
push ecx
mov dword [edi], 0x68126c
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [edi + 8], eax
jmp 0x474a9d
xor edi, edi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov dword [ebx], edi
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov esi, dword [ebx]
mov eax, esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8