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

Disassembly:
push ebp
sub esp, 0x3bc
lea ebp, [esp - 4]
mov eax, dword [0x487fb0]
xor eax, ebp
mov dword [ebp + 0x3bc], eax
push 0x20
mov eax, 0x46d2d2
call fcn.00451cdd
mov dword [ebp - 0x1c], ecx
mov edi, dword [ebp + 0x3c8]
lea ecx, [ebp + 0x2b4]
mov dword [ebp - 0x20], edi
xor ebx, ebx
xor esi, esi
call fcn.004186d2
lea ecx, [ebp + 0x230]
mov dword [ebp - 4], ebx
call fcn.004186d2
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp + 0x230]
push eax
lea eax, [ebp + 0x2b4]
push eax
push edi
mov byte [ebp - 4], 1
call fcn.00449dfd
lea ecx, [ebp + 0x230]
call fcn.0041881c
test al, al
jne 0x44a340
lea ecx, [ebp + 0x2b4]
call fcn.0041881c
test al, al
jne 0x44a340
lea ecx, [ebp + 0x2b4]
call fcn.004185bd
movzx eax, word [eax]
push eax
call fcn.0044fcd1
pop ecx
test eax, eax
je 0x44a340
push 0xa
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x2b4]
mov dword [ebp - 0x14], ebx
call fcn.004185bd
push eax
call fcn.0045266f
add esp, 0xc
push str.COLOR
lea ecx, [ebp + 0x230]
mov edi, eax
call fcn.004185bd
push eax
call fcn.00452808
pop ecx
pop ecx
test eax, eax
jne 0x44a2ae
xor edi, edi
inc edi
mov ecx, dword [ebp - 0x1c]
push esi
push edi
call fcn.00449fea
push edi
mov esi, eax
call fcn.0044f44a
pop ecx
jmp 0x44a542
push edi
lea ecx, [ebp - 0x2c]
call fcn.004182f5
lea ecx, [ebp + 0x230]
call fcn.004185bd
push eax
push dword [ebp - 0x2c]
call fcn.00410b27
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, ebx
je 0x44a4d6
push esi
call fcn.00410b27
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
push esi
cmp eax, ebx
jne 0x44a2ff
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x44a4d6
call fcn.00410b27
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp esi, ebx
je 0x44a4d6
push esi
call fcn.0041005d
pop ecx
push esi
push dword [ebp - 0x14]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push edi
call fcn.00452110
add esp, 0xc
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x44a4ce
call fcn.00410b36
push eax
lea ecx, [ebp + 0x338]
call fcn.00418b13
mov byte [ebp - 4], 2
call fcn.00410b3c
mov ecx, eax
call fcn.0041881c
test al, al
je 0x44a3f8
push edi
lea ecx, [ebp + 0x338]
call fcn.004188ac
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea ecx, [ebp + 0x338]
call fcn.004185bd
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x44a3b3
lea ecx, [ebp + 0x338]
mov byte [ebp - 4], 1
call fcn.004186f7
jmp 0x44a4d6
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
je 0x44a39f
push esi
mov dword [ebp - 0x18], ebx
call fcn.0041005d
pop ecx
push ebx
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push esi
push edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], esi
je 0x44a4bf
push edi
call fcn.0044f44a
pop ecx
jmp 0x44a39f
call fcn.00410b3c
push eax
lea ecx, [ebp + 0x338]
call fcn.00418892
call fcn.00410b42
test al, al
je 0x44a419
call fcn.00410b48
jmp 0x44a430
push 2
push ebx
lea ecx, [ebp + 0x338]
call fcn.004185bd
push eax
call fcn.0042a304
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x44a39f
lea eax, [ebp]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
push edi
push dword [ebp - 0x10]
call fcn.00428a02
add esp, 0x14
test eax, eax
jne 0x44a39f
mov esi, dword [ebp + 0x22c]
cmp esi, ebx
je 0x44a39f
push esi
call fcn.0041005d
push 3
push esi
mov edi, eax
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x10]
call fcn.0042a361
add esp, 0x18
cmp eax, ebx
je 0x44a4ad
cmp eax, 0x600
je 0x44a4ad
push edi
call fcn.0044f44a
pop ecx
call fcn.00410b42
test al, al
jne 0x44a39f
push dword [ebp - 0x10]
call fcn.0042a39b
jmp 0x44a3f5
call fcn.00410b42
test al, al
jne 0x44a4bf
push dword [ebp - 0x10]
call fcn.0042a39b
pop ecx
lea ecx, [ebp + 0x338]
mov byte [ebp - 4], 1
call fcn.004186f7
cmp edi, ebx
jne 0x44a296
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x44a540
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
je 0x44a540
push esi
mov dword [ebp - 0x14], ebx
call fcn.0041005d
pop ecx
push ebx
mov edi, eax
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], esi
je 0x44a538
push edi
call fcn.0044f44a
pop ecx
xor edi, edi
cmp edi, ebx
jne 0x44a296
xor esi, esi
lea ecx, [ebp + 0x230]
mov byte [ebp - 4], bl
call fcn.004186f7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x2b4]
call fcn.004186f7
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3bc]
xor ecx, ebp
call fcn.0044f3b0
add ebp, 0x3c0
leave
ret 4