Function at 0x4034d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44b661
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x465ac0]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push esi
push edi
mov eax, dword [0x465ac0]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
xor edi, edi
push 0x457f58
cmp dword [ebp + 8], edi
jne 0x403523
push 0x83
jmp 0x403528
push 0x84
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x40353c
xor eax, eax
jmp 0x40379e
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, edi
je 0x403535
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
je 0x403535
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
je 0x403535
add eax, 2
lea ecx, [esp + 0xf4]
call fcn.00402650
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x128], edi
call fcn.00403aa0
xor edx, edx
mov dword [esp + 0xf0], 7
mov dword [esp + 0xec], edi
mov word [esp + 0xdc], dx
mov byte [esp + 0x120], 2
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 4]
push 0xa
lea edx, [esp + ecx + 0x50]
push edx
call fcn.00404cd0
movzx eax, ax
push eax
lea ecx, [esp + 0xdc]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.004053b0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 8]
add ecx, eax
and dl, 6
movsx eax, dl
add esp, 0xc
neg eax
sbb eax, eax
not eax
test ecx, eax
je 0x403752
jmp 0x403600
mov edi, 3
lea ebx, [esp + 0xd8]
call fcn.004126f0
mov ebx, eax
inc ebx
or eax, 0xffffffff
lea esi, [esp + 0xd8]
call fcn.00401840
cmp dword [esp + 0xec], 0
je 0x403709
lea ecx, [esp + 0x10]
push ecx
lea ebx, [edi - 2]
xor eax, eax
mov edx, esi
mov dword [esp + 0x14], 0x3d
call fcn.00404180
mov edi, eax
cmp edi, 0xffffffff
je 0x403752
mov edx, esi
push edx
mov ecx, edi
xor edx, edx
lea esi, [esp + 0x34]
call fcn.00403910
mov ebx, 8
mov byte [esp + 0x120], 3
cmp dword [eax + 0x18], ebx
jb 0x40367c
mov eax, dword [eax + 4]
jmp 0x40367f
add eax, 4
push eax
call fcn.0043230e
mov dword [esp + 0x14], eax
add esp, 4
lea eax, [esp + 0xd8]
lea edx, [edi + 1]
push eax
or ecx, 0xffffffff
lea esi, [esp + 0x18]
call fcn.00403910
mov esi, eax
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x124], 4
call fcn.00403940
push 0xffffffffffffffff
mov ecx, eax
push 0
mov eax, esi
call fcn.00401730
cmp dword [esp + 0x2c], ebx
jb 0x4036d7
mov edx, dword [esp + 0x18]
push edx
call fcn.0041455c
add esp, 4
xor eax, eax
mov byte [esp + 0x120], 2
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
cmp dword [esp + 0x48], ebx
jb 0x403709
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0041455c
add esp, 4
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 4]
push 0xa
lea ecx, [esp + eax + 0x50]
push ecx
call fcn.00404cd0
movzx edx, ax
push edx
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.004053b0
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
mov eax, dword [ecx + 8]
and al, 6
movsx edx, al
add esp, 0xc
neg edx
sbb edx, edx
not edx
test ecx, edx
jne 0x403600
lea esi, [esp + 0xd8]
call fcn.00401650
lea ecx, [esp + 0x9c]
mov byte [esp + 0x120], 0
call fcn.00403b30
lea eax, [esp + 0x9c]
push eax
mov dword [esp + 0xa0], vtable.std::ios_base.0
call fcn.0044818c
add esp, 4
lea esi, [esp + 0xf4]
call fcn.00401650
mov eax, 1
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.00430e7d
mov esp, ebp
pop ebp
ret