Function at 0x4469f0
Capabilities:
Read file on windows

Disassembly:
push 0x48
mov eax, 0x4af064
call fcn.004353be
mov edi, ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
push 0x4b9440
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x3c], edi
mov esi, ecx
mov dword [ebp - 0x40], ecx
mov ebx, ecx
mov dword [ebp - 0x24], ecx
push eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], ebx
call fcn.0041cc26
add esp, 0xc
xor eax, eax
cmp dword [ebp - 0x24], ebx
je 0x446cd1
push dword [ebp - 0x24]
inc eax
push 8
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041e91c
push 8
xor edx, edx
lea ecx, [ebp - 0x1c]
call fcn.00491a00
add esp, 0x14
test eax, eax
jne 0x446c85
push ecx
push ecx
call fcn.004923d1
mov esi, eax
mov dword [ebp - 0x28], esi
pop ecx
pop ecx
test esi, esi
je 0x446c85
push 0x4e3c00
push dword [ebp - 4]
push 0x414ba3
push 3
push dword [ebp - 0x28]
call fcn.004a7d60
mov esi, dword [ebp - 0x28]
add esp, 0x14
test eax, eax
jne 0x446c7f
mov ecx, esi
call fcn.00491a70
mov ebx, eax
mov dword [ebp - 0x34], ebx
test ebx, ebx
je 0x446c7f
mov ecx, esi
call fcn.00491a70
mov dword [ebp - 0x48], eax
test eax, eax
je 0x446c7f
test esi, esi
je 0x446ad5
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x54], eax
mov byte [esi + 0x12c], 8
mov edx, ebx
mov ecx, esi
call fcn.004923dd
test esi, esi
je 0x446ae7
mov eax, dword [ebx + 0xc]
jmp 0x446ae9
xor eax, eax
push eax
mov dword [ebp - 0x44], eax
call fcn.00413953
mov dword [ebp - 0x38], eax
pop ecx
test esi, esi
je 0x446b01
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
jmp 0x446b05
and dword [ebp - 0x20], 0
test esi, esi
je 0x446b11
mov eax, dword [ebx + 4]
mov dword [ebp - 0x2c], eax
jmp 0x446b15
and dword [ebp - 0x2c], 0
cmp byte [ebx + 0x1d], 3
jne 0x446b37
test esi, esi
je 0x446b26
or dword [esi + 0x70], 0x400
mov ecx, esi
call fcn.004972db
test esi, esi
je 0x446b37
xor eax, eax
inc eax
or dword [esi + 0x70], eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [ebp - 0x3c]
mov ebx, eax
push edi
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
cmp dword [edi + 0x20], 0
je 0x446b6b
or dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x446c82
mov eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [edi + 0x18], eax
or dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x42c
call fcn.00413953
mov ebx, eax
mov dword [esp], 0x42c
push 0
push ebx
mov dword [ebp - 0x30], ebx
call fcn.00415710
mov edx, dword [ebp - 0x34]
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword [ebx], 0x2c
movzx ecx, byte [edx + 0x1d]
shl cx, 3
mov word [ebx + 0xe], cx
xor ecx, ecx
mov dword [ebx + 4], eax
inc ecx
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 8], eax
imul eax, dword [ebp - 0x44]
mov word [ebx + 0xc], cx
and dword [ebx + 0x10], 0
mov dword [ebx + 0x14], eax
cmp byte [edx + 0x1d], cl
jne 0x446c0c
xor eax, eax
lea ecx, [ebx + 0x29]
mov byte [ecx + 1], al
mov byte [ecx], al
mov byte [ecx - 1], al
inc eax
mov byte [ecx + 2], 0
add ecx, 4
cmp eax, 0x100
jl 0x446be5
mov word [ebx + 0x429], 0xffff
mov byte [ebx + 0x428], 0xff
mov eax, dword [ebp - 0x2c]
sub eax, 1
mov dword [ebp - 0x20], eax
js 0x446c63
push ecx
push ecx
lea edx, [ebp - 0x38]
mov ecx, esi
call fcn.0049283f
pop ecx
pop ecx
push edi
mov dword [ebp - 0x54], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
inc eax
mov dword [ebp - 4], eax
push 0
push ebx
push dword [ebp - 0x38]
push eax
push dword [ebp - 0x20]
push dword [edi + 0x18]
push dword [ebp - 0x4c]
call dword [sym.imp.GDI32.dll_SetDIBits]
test eax, eax
je 0x446c72
or dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub dword [ebp - 0x20], 1
jns 0x446c17
mov edx, dword [ebp - 0x34]
mov ecx, esi
call fcn.0049285b
xor eax, eax
inc eax
mov dword [ebp - 0x40], eax
jmp 0x446c85
or dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x446c85
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x30]
cmp dword [ebp - 0x24], 0
je 0x446c94
push dword [ebp - 0x24]
call fcn.0041ca0d
pop ecx
test esi, esi
je 0x446ca8
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x28]
call fcn.00492bd8
pop ecx
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x446cb6
push eax
call fcn.00413923
pop ecx
test ebx, ebx
je 0x446cc1
push ebx
call fcn.00413923
pop ecx
cmp dword [ebp - 0x40], 0
jne 0x446cce
mov ecx, edi
call fcn.00446f80
mov eax, dword [ebp - 0x40]
call fcn.00435368
ret 4