Function at 0x432870
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a1bf0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [0x628530]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], edi
push 0x5dc2c0
push 0xc359
push edi
mov dword [esp + 0x54], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov dword [esp + 0x24], esi
cmp esi, ebx
je 0x4328e2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
mov dword [esp + 0x20], ebp
cmp ebp, ebx
jne 0x432971
push 0x5dc2b4
push 0xc359
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov dword [esp + 0x24], esi
cmp esi, ebx
je 0x43290f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
mov dword [esp + 0x20], ebp
cmp ebp, ebx
jne 0x432971
push 0x5dc2c8
push 0xc359
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov dword [esp + 0x24], esi
cmp esi, ebx
je 0x43293c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
mov dword [esp + 0x20], ebp
cmp ebp, ebx
jne 0x432971
push 0x5dc2c0
push 0xc359
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov dword [esp + 0x24], esi
cmp esi, ebx
je 0x432a91
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
mov dword [esp + 0x20], ebp
cmp ebp, ebx
je 0x432a91
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x18], eax
cmp edi, ebx
je 0x432990
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov eax, dword [esp + 0x18]
jmp 0x432992
xor edi, edi
cmp eax, ebx
je 0x432a35
cmp dword [eax], 0x46464952
jne 0x432a35
add eax, 8
cmp dword [eax], 0x50424557
jne 0x432a35
add eax, 4
cmp byte [eax], 0x56
jne 0x432a35
cmp byte [eax + 1], 0x50
jne 0x432a35
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
call fcn.004c79cd
mov eax, dword [0x65f1ac]
cmp eax, ebx
je 0x432a01
lea ecx, [esp + 0x14]
push ecx
push 0x63
call eax
cmp eax, ebx
jge 0x432a01
lea edx, [esp + 0x14]
test edx, edx
je 0x432a01
mov ecx, dword [0x65f1b0]
cmp ecx, ebx
je 0x432a01
mov eax, dword [ecx]
mov eax, dword [eax]
push edx
push 0x63
call eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x14]
mov byte [esp + 0x48], 1
call fcn.00432b10
mov eax, dword [eax]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push edi
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x48], bl
jmp 0x432ade
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, ebx
je 0x432a8a
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x432a8a
mov ecx, dword [esp + 0x18]
push edi
push ecx
push eax
call fcn.00500790
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea edx, [esp + 0x14]
push edx
push 1
push esi
mov dword [esp + 0x20], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jge 0x432aa7
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x432a8a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call sub.gdiplus.dll_GdiplusStartup
mov edx, dword [esp + 0x14]
push edx
call fcn.00432410
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x432aee
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret