Function at 0x4750a0
Capabilities:
Extract resource via kernel32 functions
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5981eb
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x5e632c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0xc], 0
jne 0x4753fe
call fcn.00455970
push eax
lea ecx, [ebp - 0xa4]
call fcn.0045bf90
mov dword [ebp - 4], 0
call fcn.00455980
mov ecx, eax
call fcn.0045c1f0
movzx eax, al
test eax, eax
je 0x47524f
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xa4]
call fcn.0045c300
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0xa4]
call fcn.004287b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0xffffffff
jne 0x475172
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.0045bfd0
jmp 0x4754c3
push 0
mov edx, dword [ebp - 0xa8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4751a1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.0045bfd0
jmp 0x4754c3
mov dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x14]
add eax, 1
push eax
call fcn.004bb2ee
add esp, 4
mov dword [ebp - 0x30c], eax
mov ecx, dword [ebp - 0x30c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.004bbbe0
add esp, 0xc
push 0
lea ecx, [ebp - 0xac]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0xa8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xac]
cmp eax, dword [ebp - 0x14]
je 0x47524a
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x310], ecx
mov edx, dword [ebp - 0x310]
push edx
call fcn.004b9c69
add esp, 4
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.0045bfd0
jmp 0x4754c3
jmp 0x4753e7
call fcn.00455980
push eax
lea ecx, [ebp - 0xa4]
call fcn.0045c2d0
mov dword [ebp - 0xb4], 0
call fcn.00455990
movzx eax, al
test eax, eax
je 0x475283
call fcn.004559a0
mov dword [ebp - 0xb4], eax
jmp 0x4752a1
push 2
push 0
lea ecx, [ebp - 0xa4]
call fcn.004287b0
push eax
call fcn.0048f870
add esp, 0xc
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
jne 0x4752c1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.0045bfd0
jmp 0x4754c3
lea ecx, [ebp - 0x2ec]
push ecx
lea edx, [ebp - 0xb8]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xb4]
push ecx
call fcn.0048f930
add esp, 0x14
test eax, eax
je 0x4752ff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.0045bfd0
jmp 0x4754c3
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
jne 0x475325
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.0045bfd0
jmp 0x4754c3
mov eax, dword [ebp - 0x14]
push eax
call fcn.004bb2ee
add esp, 4
mov dword [ebp - 0x314], eax
mov ecx, dword [ebp - 0x314]
mov dword [ebp - 0x10], ecx
push 3
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xb8]
push ecx
mov edx, dword [ebp - 0xb4]
push edx
call fcn.0048fa60
add esp, 0x14
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
je 0x4753cc
cmp dword [ebp - 0xb0], 0x600
je 0x4753cc
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x318], eax
mov ecx, dword [ebp - 0x318]
push ecx
call fcn.004b9c69
add esp, 4
mov dword [ebp - 0x10], 0
call fcn.00455990
movzx edx, al
test edx, edx
jne 0x4753b5
mov eax, dword [ebp - 0xb4]
push eax
call fcn.0048fad0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.0045bfd0
jmp 0x4754c3
call fcn.00455990
movzx ecx, al
test ecx, ecx
jne 0x4753e7
mov edx, dword [ebp - 0xb4]
push edx
call fcn.0048fad0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.0045bfd0
jmp 0x4754bb
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00455950
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 0x2f4], 0
jne 0x475426
jmp 0x4754c3
mov edx, dword [ebp - 0x2f4]
push edx
call fcn.00455950
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x2f0], eax
cmp dword [ebp - 0x2f0], 0
jne 0x475457
mov eax, dword [ebp - 0x2f4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4754c3
mov ecx, dword [ebp - 0x2f4]
push ecx
call fcn.00455950
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x475475
jmp 0x4754c3
mov edx, dword [ebp - 0x14]
push edx
call fcn.004bb2ee
add esp, 4
mov dword [ebp - 0x31c], eax
mov eax, dword [ebp - 0x31c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x2f0]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.004bb670
add esp, 0xc
mov ecx, dword [ebp - 0x2f4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor edx, edx
jne 0x4750e0
cmp dword [ebp - 0x10], 0
jne 0x47559b
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0xffffffff
jne 0x4754fd
jmp 0x47559b
push 0
mov ecx, dword [ebp - 0x2f8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x47551a
jmp 0x47559b
mov dword [ebp - 0x2fc], 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.004bb2ee
add esp, 4
mov dword [ebp - 0x320], eax
mov eax, dword [ebp - 0x320]
mov dword [ebp - 0x10], eax
push 0
lea ecx, [ebp - 0x2fc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x2f8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x2f8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2fc]
cmp eax, dword [ebp - 0x14]
je 0x475594
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x324], ecx
mov edx, dword [ebp - 0x324]
push edx
call fcn.004b9c69
add esp, 4
mov dword [ebp - 0x10], 0
jmp 0x47559b
cmp dword [ebp - 0x10], 0
jne 0x4755a9
mov eax, dword [ebp - 0x18]
jmp 0x47566b
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x300], eax
cmp dword [ebp - 0x300], 0
je 0x475649
mov ecx, dword [ebp - 0x300]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x304], eax
cmp dword [ebp - 0x304], 0
je 0x475649
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x304]
push ecx
call fcn.004bb670
add esp, 0xc
mov dword [ebp - 0x308], 0
lea edx, [ebp - 0x308]
push edx
push 1
mov eax, dword [ebp - 0x300]
push eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x47563c
cmp dword [ebp - 0x308], 0
je 0x47563c
push 0
mov ecx, dword [ebp - 0x308]
push ecx
call fcn.0047c7a0
add esp, 8
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x300]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x328], eax
mov ecx, dword [ebp - 0x328]
push ecx
call fcn.004b9c69
add esp, 4
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004b9002
mov esp, ebp
pop ebp
ret