Function at 0x434788
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e1bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov dword [ebp - 0x50], ecx
cmp dword [ebp + 8], 0
jne 0x4347b3
xor eax, eax
jmp 0x434a92
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0xc0], 0
je 0x4347fc
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0xc0]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4347e8
push 1
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x30]
call dword [edx]
mov dword [ebp - 0x54], eax
jmp 0x4347ef
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x50]
mov dword [eax + 0xc0], 0
mov ecx, dword [ebp - 0x50]
add ecx, 0xc4
call sub.MFC42.DLL_CString::Empty
mov ecx, dword [ebp + 0xc]
call fcn.004020a0
test eax, eax
jne 0x43482b
push 0x472c9c
mov ecx, dword [ebp + 0xc]
call fcn.00415ee0
test eax, eax
jne 0x4348ca
lea ecx, [ebp - 0x14]
call fcn.004046e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00404780
test eax, eax
jne 0x434868
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404730
mov eax, dword [ebp - 0x38]
jmp 0x434a92
push 0
lea ecx, [ebp - 0x14]
call fcn.00404880
push eax
call fcn.004390a0
add esp, 8
mov edx, dword [ebp - 0x50]
mov dword [edx + 0xc0], eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0xc0], 0
jne 0x4348b6
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404730
mov eax, dword [ebp - 0x3c]
jmp 0x434a92
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404730
jmp 0x434a22
mov ecx, dword [ebp + 0xc]
call fcn.004020c0
push eax
mov ecx, dword [ebp + 8]
and ecx, 0xffff
push ecx
call fcn.004075b0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4348f9
xor eax, eax
jmp 0x434a92
mov edx, dword [ebp - 0x24]
push edx
call fcn.004075b0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
ja 0x434919
xor eax, eax
jmp 0x434a92
mov eax, dword [ebp - 0x24]
push eax
call fcn.004075b0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x434939
xor eax, eax
jmp 0x434a92
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x434953
xor eax, eax
jmp 0x434a92
mov dword [ebp - 0x2c], 0
lea edx, [ebp - 0x2c]
push edx
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp dword [ebp - 0x2c], 0
jne 0x434975
xor eax, eax
jmp 0x434a92
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x2c]
push edx
call dword [ecx + 0x10]
push 0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00402f00
add esp, 8
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0xc0], eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x50]
cmp dword [edx + 0xc0], 0
jne 0x4349c3
xor eax, eax
jmp 0x434a92
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0xc0], 0
je 0x434a22
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx + 0xc0]
call fcn.00439070
test eax, eax
je 0x434a22
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0xc0]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0
je 0x434a0a
push 1
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x58], eax
jmp 0x434a11
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0xc0], 0
xor eax, eax
jmp 0x434a92
mov edx, dword [ebp - 0x50]
cmp dword [edx + 0xc0], 0
je 0x434a7b
mov ecx, dword [ebp - 0x50]
call fcn.00434aa2
test eax, eax
jg 0x434a7b
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0xc0]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x48], 0
je 0x434a63
push 1
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x48]
call dword [edx]
mov dword [ebp - 0x5c], eax
jmp 0x434a6a
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x50]
mov dword [eax + 0xc0], 0
xor eax, eax
jmp 0x434a92
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0xc4
call sub.MFC42.DLL_CString::operator
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8