Function at 0x4010a1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458f4c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x40]
call fcn.00449719
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x14], 0
je 0x401102
mov ecx, dword [ebp - 0x40]
call fcn.00401677
push 0x470140
lea ecx, [ebp + 0xc]
push ecx
call fcn.00401e10
and eax, 0xff
test eax, eax
je 0x401157
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp + 0xc]
push edx
call fcn.0043f797
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.00401790
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0043fa22
mov eax, dword [ebp - 0x24]
jmp 0x40131e
cmp dword [ebp - 0x18], 0
jne 0x40117f
lea ecx, [ebp + 0xc]
call fcn.00401e00
push eax
mov edx, dword [ebp + 8]
and edx, 0xffff
push edx
call fcn.00401e70
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4011a3
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0043fa22
mov eax, dword [ebp - 0x2c]
jmp 0x40131e
mov eax, dword [ebp - 0x18]
push eax
call fcn.00401e70
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4011da
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0043fa22
mov eax, dword [ebp - 0x30]
jmp 0x40131e
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40120b
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0043fa22
mov eax, dword [ebp - 0x34]
jmp 0x40131e
mov edx, dword [ebp - 0x18]
push edx
call fcn.00401e70
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x40]
call fcn.004016c5
test eax, eax
je 0x401239
mov dword [ebp - 0x1c], 1
mov edx, dword [ebp - 0x20]
push edx
call fcn.00401c60
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x14], 0
je 0x4012c6
mov ecx, dword [ebp - 0x40]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x14]
mov ecx, dword [edx]
push eax
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x40]
add edx, 0x10
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x14]
mov edx, dword [eax]
push ecx
call dword [edx + 0x18]
push 0x9ec
push 0x60
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [ebp - 0x40]
mov dword [edx + 8], eax
push 0x9ec
push 0x60
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [ebp - 0x40]
mov dword [edx + 0x10], eax
jmp 0x4012e1
mov eax, dword [ebp - 0x40]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0x10], 0
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0
je 0x401306
mov ecx, dword [ebp - 0x40]
call fcn.00401831
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0043fa22
mov eax, dword [ebp - 0x38]
jmp 0x40131e
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0043fa22
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8