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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5436
mov eax, dword fs:[0]
push eax
sub esp, 0x4c4
mov eax, dword [0x51a230]
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 edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
test edi, edi
jne 0x44bdfa
push 0x84
lea eax, [ebp - 0xd0]
push edi
push eax
call fcn.004bac70
add esp, 0xc
call fcn.0042d490
push eax
lea ecx, [ebp - 0xd0]
call fcn.00429020
mov dword [ebp - 4], edi
call fcn.0042d4a0
mov ecx, eax
call fcn.0042a040
test al, al
je 0x44bc2c
push dword [ebp + 8]
lea ecx, [ebp - 0xd0]
call fcn.00429650
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0xd0]
call fcn.00424290
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44bbb3
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], eax
call fcn.004292a0
jmp 0x44be66
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x44bbdb
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0xffffffff
call fcn.004292a0
jmp 0x44be6c
push esi
mov dword [ebp - 0x1c], 0
call fcn.00490862
add esp, 4
mov edi, eax
lea eax, [ebp - 0x1c]
push 0
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], esi
je 0x44bde6
push edi
call fcn.00490615
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.004292a0
jmp 0x44be66
call fcn.0042d4a0
push eax
lea ecx, [ebp - 0xd0]
call fcn.00429630
push 0x84
lea eax, [ebp - 0x1d8]
push 0
push eax
call fcn.004bac70
add esp, 0xc
call fcn.0042d4c0
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00429020
mov byte [ebp - 4], 1
call fcn.0042d710
test al, al
je 0x44bc7a
call fcn.0042d4b0
mov ebx, eax
jmp 0x44bcb6
push 0
lea ecx, [ebp - 0x1d8]
call fcn.00424290
push eax
call fcn.00433570
add esp, 8
lea ecx, [ebp - 0xd0]
mov esi, eax
push esi
call fcn.00424290
push eax
call fcn.00437130
add esp, 8
mov ebx, eax
test esi, esi
je 0x44bcb6
push esi
call fcn.00490615
add esp, 4
test ebx, ebx
jne 0x44bcdc
lea ecx, [ebp - 0x1d8]
call fcn.004292a0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0xffffffff
call fcn.004292a0
jmp 0x44be66
push 0x84
lea eax, [ebp - 0x154]
mov dword [ebp - 0x20], 0
push 0
push eax
call fcn.004bac70
add esp, 0xc
lea ecx, [ebp - 0x154]
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004290f0
push 0x4ea564
push 0x4eb0a8
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 2
call fcn.0042a3a0
lea eax, [ebp - 0x4c0]
push eax
lea eax, [ebp - 0x20]
push eax
push 1
lea ecx, [ebp - 0x154]
call fcn.00424290
push eax
push ebx
call fcn.00436850
add esp, 0x14
test eax, eax
je 0x44bd58
lea ecx, [ebp - 0x154]
call fcn.004292a0
jmp 0x44bcba
mov esi, dword [ebp - 0x294]
test esi, esi
jne 0x44bd72
lea ecx, [ebp - 0x154]
call fcn.004292a0
jmp 0x44bcba
push esi
call fcn.00490862
push esi
mov edi, eax
push edi
push dword [ebp - 0x20]
push ebx
call fcn.00437730
add esp, 0x14
test eax, eax
je 0x44bdbe
cmp eax, 0x600
je 0x44bdbe
push edi
call fcn.00490615
add esp, 4
call fcn.0042d710
test al, al
jne 0x44bdae
push ebx
call fcn.004363b0
add esp, 4
lea ecx, [ebp - 0x154]
call fcn.004292a0
jmp 0x44bcba
call fcn.0042d710
test al, al
jne 0x44bdd0
push ebx
call fcn.004363b0
add esp, 4
lea ecx, [ebp - 0x154]
call fcn.004292a0
lea ecx, [ebp - 0x1d8]
call fcn.004292a0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0xffffffff
call fcn.004292a0
jmp 0x44be5e
test esi, esi
jne 0x44be05
call fcn.0042d480
mov esi, eax
push edi
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x44be66
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push edi
test ebx, ebx
jne 0x44be2d
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x44be66
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x44be66
push esi
call fcn.00490862
add esp, 4
mov edi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push edi
call fcn.004ba170
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
test edi, edi
jne 0x44bef1
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44becf
push 0
push ebx
call edi
mov esi, eax
test esi, esi
je 0x44becf
push esi
mov dword [ebp - 0x18], 0
call fcn.00490862
add esp, 4
mov edi, eax
lea eax, [ebp - 0x18]
push 0
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], esi
je 0x44beed
push edi
call fcn.00490615
add esp, 4
xor eax, eax
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.00490604
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x44becf
lea eax, [esi + edi]
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1e4], eax
lea eax, [ebp - 0x14]
push 4
push eax
lea eax, [ebp - 0x4d0]
mov dword [ebp - 0x270], 0
push eax
lea eax, [ebp - 0x4cc]
mov dword [ebp - 0x1e0], edi
push eax
lea eax, [ebp - 0x290]
mov dword [ebp - 0x1e8], edi
push eax
call fcn.00455380
mov ebx, eax
push edi
mov dword [ebp - 0x14], ebx
call fcn.00490615
add esp, 0x18
test ebx, ebx
je 0x44becf
mov edi, dword [ebp - 0x4cc]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x4d0]
mov ebx, edi
imul ebx, dword [ebp - 0x4d0]
neg eax
mov dword [ebp - 0x44], eax
push 0
push 0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x4c], 0x28
lea eax, [ebx*4]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x4c4]
push eax
push 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x40], 0x200001
push eax
push 0
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c5], 0
mov dword [ebp - 0x4c4], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x44becf
xor esi, esi
test ebx, ebx
jle 0x44c0e2
mov edx, dword [ebp - 0x14]
nop dword [eax + eax]
mov eax, dword [ebp - 0x4c4]
mov cl, byte [edx + esi*4 + 3]
mov byte [eax + esi*4 + 3], cl
mov eax, dword [ebp - 0x4c4]
cmp byte [eax + esi*4 + 3], 0xff
lea edi, [eax + esi*4]
jae 0x44c076
movzx eax, byte [edx + esi*4 + 3]
movzx ecx, byte [edx + esi*4 + 2]
imul ecx, eax
mov eax, 0x80808081
mov byte [ebp - 0x4c5], 1
mul ecx
shr edx, 7
mov byte [edi], dl
mov edi, dword [ebp - 0x14]
movzx eax, byte [edi + esi*4 + 3]
movzx ecx, byte [edi + esi*4 + 1]
imul ecx, eax
mov eax, 0x80808081
mul ecx
mov eax, dword [ebp - 0x4c4]
shr edx, 7
mov byte [eax + esi*4 + 1], dl
movzx eax, byte [edi + esi*4 + 3]
movzx ecx, byte [edi + esi*4]
imul ecx, eax
mov eax, 0x80808081
mul ecx
mov eax, dword [ebp - 0x4c4]
shr edx, 7
mov byte [eax + esi*4 + 2], dl
mov edx, edi
jmp 0x44c099
mov al, byte [edx + esi*4 + 2]
mov byte [edi], al
mov eax, dword [ebp - 0x4c4]
movzx ecx, byte [edx + esi*4 + 1]
mov byte [eax + esi*4 + 1], cl
mov eax, dword [ebp - 0x4c4]
movzx ecx, byte [edx + esi*4]
mov byte [eax + esi*4 + 2], cl
mov eax, dword [ebp - 0x4c4]
mov ecx, dword [ebp + 0x10]
cmp dword [eax + esi*4], ecx
jne 0x44c0d3
mov byte [eax + esi*4], 0
mov eax, dword [ebp - 0x4c4]
mov byte [ebp - 0x4c5], 1
mov byte [eax + esi*4 + 1], 0
mov eax, dword [ebp - 0x4c4]
mov byte [eax + esi*4 + 2], 0
mov eax, dword [ebp - 0x4c4]
mov byte [eax + esi*4 + 3], 0
inc esi
cmp esi, ebx
jl 0x44bff0
mov edi, dword [ebp - 0x4cc]
push dword [ebp - 0x14]
call fcn.004c1cbd
push 0xa0
call fcn.0049033a
mov esi, eax
add esp, 8
mov dword [ebp - 0x4cc], esi
mov dword [ebp - 4], 3
test esi, esi
je 0x44c114
lea ecx, [esi + 0x18]
call fcn.00429120
jmp 0x44c116
xor esi, esi
mov eax, dword [ebp - 0x18]
mov dword [esi], eax
mov eax, dword [ebp - 0x4d0]
mov dword [esi + 0x10], eax
mov al, byte [ebp - 0x4c5]
mov byte [esi + 0x14], al
mov eax, esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], edi
jmp 0x44bed1