Function at 0x43c7cd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e5c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x40]
call fcn.0043ca0c
mov ecx, dword [ebp + 0xc]
call fcn.004020a0
test eax, eax
jne 0x43c825
push 0x472d08
mov ecx, dword [ebp + 0xc]
call fcn.00415ee0
test eax, eax
je 0x43c825
push str.BITMAP
mov ecx, dword [ebp + 0xc]
call fcn.00415ee0
test eax, eax
jne 0x43c8be
lea ecx, [ebp - 0x14]
call fcn.004046e0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00404780
test eax, eax
jne 0x43c862
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404730
mov eax, dword [ebp - 0x30]
jmp 0x43c9fc
push 0
lea ecx, [ebp - 0x14]
call fcn.00404880
push eax
call fcn.004390a0
add esp, 8
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edx, dword [ebp - 0x40]
cmp dword [edx + 4], 0
jne 0x43c8aa
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404730
mov eax, dword [ebp - 0x34]
jmp 0x43c9fc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404730
jmp 0x43c9f7
mov ecx, dword [ebp + 0xc]
call fcn.004020c0
push eax
mov eax, dword [ebp + 8]
and eax, 0xffff
push eax
call fcn.004075b0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x43c8ec
xor eax, eax
jmp 0x43c9fc
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004075b0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
ja 0x43c90c
xor eax, eax
jmp 0x43c9fc
mov edx, dword [ebp - 0x24]
push edx
call fcn.004075b0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x43c92c
xor eax, eax
jmp 0x43c9fc
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x43c946
xor eax, eax
jmp 0x43c9fc
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push ecx
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp dword [ebp - 0x2c], 0
jne 0x43c968
xor eax, eax
jmp 0x43c9fc
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [eax + 0x10]
push 0
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00402f00
add esp, 8
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 4], 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 - 0x40]
cmp dword [edx + 4], 0
jne 0x43c9ad
xor eax, eax
jmp 0x43c9fc
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 4]
call fcn.00439070
test eax, eax
je 0x43c9f7
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x43c9e2
push 1
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x38]
call dword [edx]
mov dword [ebp - 0x44], eax
jmp 0x43c9e9
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x40]
mov dword [eax + 4], 0
xor eax, eax
jmp 0x43c9fc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8