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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5219b1
mov eax, dword fs:[0]
push eax
sub esp, 0x3cc
mov eax, dword [0x55d184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x10]
xor edi, edi
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3d4], eax
mov dword [ebx], 0
test esi, esi
jne 0x44fa15
push 0x84
lea eax, [ebp - 0x98]
push edi
push eax
call fcn.004cbbe0
add esp, 0xc
call fcn.00438d20
push eax
lea ecx, [ebp - 0x98]
call fcn.004348c0
mov dword [ebp - 4], edi
call fcn.00438d30
mov ecx, eax
call fcn.004358e0
test al, al
je 0x44f870
mov esi, dword [ebp - 0x3d4]
lea ecx, [ebp - 0x98]
push dword [esi]
call fcn.00434ef0
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x98]
call fcn.00421810
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d8], eax
cmp eax, 0xffffffff
jne 0x44f7dd
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], eax
call fcn.00434b40
jmp 0x44fa88
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x44f803
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0xffffffff
call fcn.00434b40
jmp 0x44fa88
lea esi, [edi + 1]
mov dword [ebp - 0x14], 0
push esi
call fcn.0049be25
push esi
push 0
push eax
mov dword [ebx], eax
call fcn.004cbbe0
mov esi, dword [ebp - 0x3d8]
lea eax, [ebp - 0x14]
add esp, 0x10
push 0
push eax
push edi
push dword [ebx]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], edi
je 0x44f9ad
push dword [ebx]
call fcn.0049be2e
add esp, 4
mov dword [ebx], 0
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0xffffffff
xor edi, edi
call fcn.00434b40
jmp 0x44fa82
call fcn.00438d30
push eax
lea ecx, [ebp - 0x98]
call fcn.00434ed0
call fcn.00438fa0
test al, al
je 0x44f896
call fcn.00438d40
mov esi, eax
jmp 0x44f916
push 0x84
lea eax, [ebp - 0x1a0]
push 0
push eax
call fcn.004cbbe0
add esp, 0xc
call fcn.00438d50
push eax
lea ecx, [ebp - 0x1a0]
call fcn.004348c0
push 0
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 1
call fcn.00421810
push eax
call fcn.0043eeb0
add esp, 8
mov dword [ebp - 0x3d8], eax
lea ecx, [ebp - 0x98]
push eax
call fcn.00421810
push eax
call fcn.00443260
mov esi, eax
add esp, 8
mov eax, dword [ebp - 0x3d8]
test eax, eax
je 0x44f907
push eax
call fcn.0049be2e
add esp, 4
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 0
call fcn.00434b40
test esi, esi
jne 0x44f931
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0xffffffff
call fcn.00434b40
jmp 0x44fa82
push 0x84
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x14], 0
push 0
push eax
call fcn.004cbbe0
mov ecx, dword [ebp - 0x3d4]
add esp, 0xc
push 0xffffffffffffffff
push dword [ecx]
lea ecx, [ebp - 0x11c]
call fcn.00434990
push 0x525d80
push 0x525b5c
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 2
call fcn.00435c40
lea eax, [ebp - 0x3d0]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
lea ecx, [ebp - 0x11c]
call fcn.00421810
push eax
push esi
call fcn.00442980
add esp, 0x14
test eax, eax
je 0x44f9c4
lea ecx, [ebp - 0x11c]
call fcn.00434b40
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0xffffffff
call fcn.00434b40
jmp 0x44fa82
mov edi, dword [ebp - 0x1a4]
test edi, edi
je 0x44f9a2
push edi
call fcn.0049be25
push edi
push eax
push dword [ebp - 0x14]
mov dword [ebx], eax
push esi
call fcn.00443860
add esp, 0x14
test eax, eax
je 0x44fa01
cmp eax, 0x600
je 0x44fa01
push dword [ebx]
call fcn.0049be2e
add esp, 4
mov dword [ebx], 0
xor edi, edi
call fcn.00438fa0
test al, al
jne 0x44f9a2
push esi
call fcn.004424e0
add esp, 4
jmp 0x44f9a2
call fcn.00438d10
mov ecx, dword [ebp - 0x3d4]
push esi
mov dword [ebp - 0x14], eax
push dword [ecx]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x44fa82
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x3d8], eax
push esi
test eax, eax
je 0x44fa7c
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x44fa82
push edi
call fcn.0049be25
mov esi, dword [ebp - 0x3d8]
add esp, 4
mov dword [ebx], eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [ebx]
call fcn.004cb070
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov esi, dword [ebp - 0x3d4]
cmp dword [ebx], 0
jne 0x44fb0c
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d8], eax
cmp eax, 0xffffffff
je 0x44fb0c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x44fb08
push esi
mov dword [ebp - 0x14], 0
call fcn.0049be25
mov edi, dword [ebp - 0x3d8]
lea ecx, [ebp - 0x14]
add esp, 4
mov dword [ebx], eax
push 0
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], esi
je 0x44fb08
push dword [ebx]
call fcn.0049be2e
add esp, 4
mov dword [ebx], 0
xor eax, eax
jmp 0x44fb0e
mov eax, esi
jmp 0x44fb0e
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049be04
mov esp, ebp
pop ebp
ret