Function at 0x434140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x48cdd8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ae650]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
movzx ecx, word [esp + 0x48]
xor ebx, ebx
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x4c]
mov edx, dword [0x4b2e18]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov eax, dword [0x4b2e18]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [0x4b2e18]
push esi
push ecx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push ebp
push 2
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [esp + 0x18]
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [esp + 0x14], ebx
cmp esi, ebx
je 0x4342f5
cmp dword [esp + 0x18], ebx
je 0x4342f5
cmp eax, ebx
je 0x4342f5
mov ecx, dword [esp + 0x1c]
push ebp
push ecx
push eax
call fcn.00477b80
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea edx, [esp + 0x14]
push edx
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
mov esi, vtable.Gdiplus::Image.0
push ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebx
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [esp + 0x28], eax
mov byte [esp + 0x3c], 2
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x20]
call eax
mov ebp, dword [esp + 0x44]
mov byte [esp + 0x3c], bl
mov ecx, dword [esp + 0x24]
push ecx
mov dword [ebp], eax
mov dword [esp + 0x24], esi
call sub.gdiplus.dll_GdipDisposeImage
push 0x1c
call fcn.004542c1
add esp, 4
cmp eax, ebx
je 0x43426f
mov esi, eax
call fcn.00434360
mov esi, eax
jmp 0x434271
xor esi, esi
mov edx, dword [ebp]
movzx ecx, word [0x4b2e1c]
mov eax, dword [esp + 0x48]
mov dword [esi], edx
lea edx, [esp + 0x4c]
mov dword [esi + 8], ecx
lea ecx, [esi + 0xc]
push edx
mov dword [esi + 4], eax
call fcn.00405bc0
mov eax, dword [0x4b2e24]
mov ecx, dword [eax + 0x18]
mov dword [esi + 0x18], ecx
mov dword [eax + 0x18], esi
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov dword [esp + 0x14], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4342e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
call fcn.00455695
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x43430f
push 0x80004005
call fcn.00406550
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x48]
push ecx
lea edx, [esp + 0x1c]
push 0x49c9c0
push edx
mov byte [esp + 0x48], 1
call fcn.00406620
mov eax, dword [esp + 0x24]
add esp, 8
add eax, 0xfffffff0
mov dword [esp + 0x4c], esp
mov esi, esp
push eax
call fcn.00405c60
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004343d0
int3