Function at 0x407e70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b1b1
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x438080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xc8], 1
push 0x4341cc
push 0x65
mov dword [ebp - 4], 0
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4081f4
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x408224
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x408254
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x408284
push 0x433f7c
lea ecx, [ebp + 8]
call fcn.0040bb50
push eax
mov ecx, esi
call fcn.00403930
mov byte [ebp - 4], 6
mov ecx, esi
mov dword [ebp - 0xc8], 1
call fcn.00406890
test al, al
je 0x407f54
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x407f4e
mov eax, dword [esi]
push eax
call fcn.0040ed0c
push 0xb0
lea eax, [ebp - 0xc4]
push 0
push eax
call fcn.00410dc0
add esp, 0xc
mov edi, esi
cmp dword [esi + 0x14], 7
jbe 0x407f74
mov edi, dword [esi]
xorps xmm0, xmm0
mov dword [ebp - 0xc4], 0x433f10
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x34], 0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x1c], 0
push ecx
mov dword [ebp - 4], 7
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0xc8], 3
mov dword [ebp - 0x5c], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x60], 0x60
call fcn.0040b710
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc8], eax
lea ecx, [ebp - 0xc0]
call fcn.0040b3d0
push ecx
push 0x22
push edi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xa
call fcn.0040b250
test eax, eax
jne 0x40805e
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc4]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00401d90
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc8], eax
push 0
push ebx
push dword [ebp - 0xcc]
lea ecx, [ebp - 0xc4]
mov dword [ebp - 4], 0xb
call fcn.004095d0
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xb8], 6
jne 0x4082b4
lea ecx, [ebp - 0xc0]
call fcn.0040b170
test eax, eax
jne 0x4080ef
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc4]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00401d90
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc8], eax
lea ecx, [ebp - 0xc0]
call fcn.0040a650
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xc8], eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 0xd
push eax
mov dword [ebp - 0x5c], vtable.std::ios_base.0
call fcn.0040e2d3
mov ecx, dword [ebp + 0x1c]
add esp, 4
cmp ecx, 7
jbe 0x4081a6
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40819c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4082ef
push ecx
push edx
call fcn.0040f314
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040f2d1
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0xec]
call fcn.00401ff0
push eax
push 0x6f
push 0x66
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 2
call fcn.0040cfe0
push 0x4372a4
lea eax, [ebp - 0x114]
push eax
call fcn.004107bc
lea ecx, [ebp - 0xec]
call fcn.00401ff0
push eax
push 0x6f
push 0x67
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 3
call fcn.0040cfe0
push 0x4372a4
lea eax, [ebp - 0x13c]
push eax
call fcn.004107bc
lea ecx, [ebp - 0xec]
call fcn.00401ff0
push eax
push 0x6f
push 0x68
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040cfe0
push 0x4372a4
lea eax, [ebp - 0x164]
push eax
call fcn.004107bc
lea ecx, [ebp - 0xec]
call fcn.00401ff0
push eax
push 0x6f
push 0x69
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 5
call fcn.0040cfe0
push 0x4372a4
lea eax, [ebp - 0x18c]
push eax
call fcn.004107bc
lea ecx, [ebp - 0xc4]
call fcn.00408ea0
lea ecx, [ebp - 0xec]
call fcn.00401ff0
push eax
push 0x6f
push 0xffffffffffffffff
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0xc
call fcn.0040cfe0
push 0x4372a4
lea eax, [ebp - 0x1b4]
push eax
call fcn.004107bc
call fcn.004140a6
push dword [ebp - 0xd4]
lea ecx, [ebp - 0x1dc]
call fcn.00402090
push 0x4372a4
lea eax, [ebp - 0x1dc]
push eax
call fcn.004107bc
int3