Function at 0x447740
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453fd2
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x46831c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040b760
cmp dword [ebp + 0x14], 0
jne 0x447789
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp + 0x14], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x20]
call fcn.00413f70
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp + 0x10]
push ecx
push str.HTML
call fcn.0042dddf
add esp, 8
test eax, eax
jne 0x4477d8
push 0x17
movzx edx, word [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
jmp 0x4477ee
mov ecx, dword [ebp + 0x10]
push ecx
movzx edx, word [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x447813
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x20]
call fcn.0040b630
lea ecx, [ebp - 0x18]
call fcn.0040b7e0
mov eax, dword [ebp - 0x30]
jmp 0x44796a
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x447853
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x20]
call fcn.0040b630
lea ecx, [ebp - 0x18]
call fcn.0040b7e0
mov eax, dword [ebp - 0x34]
jmp 0x44796a
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x44789d
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x20]
call fcn.0040b630
lea ecx, [ebp - 0x18]
call fcn.0040b7e0
mov eax, dword [ebp - 0x38]
jmp 0x44796a
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4478e3
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x20]
call fcn.0040b630
lea ecx, [ebp - 0x18]
call fcn.0040b7e0
mov eax, dword [ebp - 0x3c]
jmp 0x44796a
mov dword [ebp - 4], 0
push 0
push 0
push 2
push 2
push 1
push 0xc0000000
lea ecx, [ebp - 0x18]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x20]
call fcn.0040b580
test eax, eax
jl 0x447927
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040b5e0
mov dword [ebp - 0x2c], 1
jmp 0x447936
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x20]
call fcn.0040b630
lea ecx, [ebp - 0x18]
call fcn.0040b7e0
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret