Function at 0x40739f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40de9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x2f2c
call fcn.0040d820
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x10]
call fcn.0040cc30
mov dword [ebp - 4], 0
cmp dword [0x41b044], 0
jne 0x40740b
mov dword [ebp - 0x2f2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040cce0
mov eax, dword [ebp - 0x2f2c]
jmp 0x4075f9
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
push eax
call dword [edx + 0x48]
test eax, eax
jl 0x4075db
lea ecx, [ebp - 0x2c]
push ecx
push 0x40f48c
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [eax]
test eax, eax
jl 0x4075cf
push str.signon
lea ecx, [ebp - 0x30]
call fcn.0040cc50
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x30]
call fcn.0040cd00
push eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x2c]
push edx
call dword [ecx + 0xb8]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x4075b7
cmp dword [ebp - 0x34], 0
je 0x4075b7
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [ebp - 0x38], eax
push 0xa
push str.wels
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x4075ab
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0x2f28], eax
mov edx, dword [ebp - 0x2f28]
push edx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 0x2f24], eax
push 0x9f4
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x2f30], eax
mov eax, dword [ebp - 0x2f30]
mov dword [ebp - 0x40], eax
push 0x800
mov ecx, dword [ebp - 0x2f24]
push ecx
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
push 0x1770
lea eax, [ebp - 0x2f20]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x40]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
lea edx, [ebp - 0x2f20]
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x34]
push eax
call dword [edx + 0xf4]
mov dword [0x41b040], 1
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x2f34], edx
mov eax, dword [ebp - 0x2f34]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp - 0x2f28]
push ecx
call fcn.0040ce30
mov edx, dword [ebp - 0x2f28]
push edx
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x34]
push edx
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x2c]
push edx
call dword [ecx + 8]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0040cce0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2f38], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040cce0
mov eax, dword [ebp - 0x2f38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret