Function at 0x447a30
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x4856b8]
sub esp, 0x178
push ebp
xor ebp, ebp
cmp eax, ebp
je 0x447db7
cmp dword [0x483a8c], ebp
je 0x447db7
mov eax, dword [0x480db8]
push ebx
xor ebx, ebx
push esi
cmp eax, ebp
push edi
mov dword [esp + 0x1c], ebx
jle 0x447c4a
mov ecx, 0x480db8
test ecx, ecx
je 0x447c38
cmp ebx, eax
jge 0x447c38
cmp ebx, ebp
jl 0x447c38
mov esi, dword [0x480dc4]
mov ecx, dword [0x480dc8]
imul esi, ebx
add esi, ecx
cmp esi, ebp
je 0x447c38
mov eax, dword [esi + 4]
xor ecx, ecx
cmp eax, ebp
jle 0x447b24
mov edx, dword [esi + 0xc]
mov edi, dword [edx + ecx*4]
lea eax, [edx + ecx*4]
mov edx, dword [0x4853e0]
sub edi, edx
mov dword [eax], edi
mov eax, dword [esi + 0xc]
lea edi, [eax + ecx*4]
mov eax, 0x38e38e39
mul dword [edi]
shr edx, 3
mov dword [edi], edx
mov edx, dword [esi + 0xc]
mov edi, dword [0x4849c4]
lea eax, [edx + ecx*4]
mov edx, dword [edx + ecx*4]
cmp edx, edi
jge 0x447b04
mov edi, dword [0x483a8c]
mov edx, dword [edi + edx*4]
cmp edx, ebp
jl 0x447b04
mov edi, dword [0x4853e0]
lea edx, [edx + edx*8]
inc ecx
lea edx, [edi + edx*4]
mov dword [eax], edx
mov eax, dword [esi + 4]
cmp ecx, eax
jge 0x447b24
jmp 0x447aa7
mov eax, dword [esi + 0xc]
mov dword [esi + 4], ebp
push eax
mov dword [esi + 8], ebp
call fcn.00450d9f
add esp, 4
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
jmp 0x447c38
push 0xa
lea ecx, [esp + 0x30]
push 0x64
push ecx
call fcn.00407be0
mov eax, dword [esi + 4]
add esp, 0xc
cmp eax, ebp
jle 0x447b6e
mov edx, dword [esi + 0xc]
mov ebx, 3
mov edi, dword [edx + ebp*4]
xor eax, eax
lea ecx, [esp + 0x2c]
mov ax, word [edi]
push eax
push ecx
call fcn.00407d20
add esp, 8
add edi, 2
dec ebx
jne 0x447b47
mov eax, dword [esi + 4]
inc ebp
cmp ebp, eax
jl 0x447b3c
mov ebx, dword [esp + 0x1c]
xor ebp, ebp
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x447bb0
mov edx, dword [esi + 4]
lea eax, [edx + eax*4]
shl eax, 2
push eax
mov eax, dword [esi + 0xc]
push eax
call fcn.004513a0
add esp, 8
cmp eax, ebp
je 0x447c38
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xc], eax
mov dword [esi + 8], ecx
lea eax, [eax + edx*4]
mov dword [esi + 0x10], eax
lea edx, [eax + ecx*4]
mov dword [esi + 0x14], edx
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x10]
shl eax, 2
push eax
push ecx
push edx
call fcn.00450dd0
mov eax, dword [esi + 8]
add esp, 0xc
xor ecx, ecx
cmp eax, ebp
jle 0x447c38
xor edx, edx
mov eax, dword [esi + 0x10]
mov edi, dword [0x4853e8]
mov eax, dword [eax + ecx*4]
lea eax, [eax + eax*2]
fld dword [edi + eax*4]
fsub dword [esi + 0x18]
fld dword [edi + eax*4 + 4]
lea eax, [edi + eax*4]
fsub dword [esi + 0x1c]
fstp dword [esp + 0x24]
fld dword [eax + 8]
fsub dword [esi + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
fstp dword [esp + 0x10]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x14]
add eax, edx
inc ecx
add edx, 0xc
mov dword [eax], edi
mov edi, dword [esp + 0x14]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + 8], edi
mov eax, dword [esi + 8]
cmp ecx, eax
jl 0x447bd3
mov eax, dword [0x480db8]
inc ebx
cmp ebx, eax
mov dword [esp + 0x1c], ebx
jl 0x447a68
mov ecx, dword [esp + 0x18c]
push ebp
push ebp
lea edx, [esp + 0x68]
push ecx
push edx
call fcn.00408370
add esp, 0x10
test eax, eax
je 0x447d8f
lea eax, [esp + 0x40]
lea ecx, [esp + 0x60]
push eax
push ecx
call fcn.00408200
add esp, 8
test eax, eax
je 0x447d8f
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x10
lea edx, [esp + 0x44]
push str.LEVEL_FACEFLAGS
push edx
call fcn.004514c0
add esp, 0xc
test eax, eax
jne 0x447d63
mov edx, dword [0x4853d0]
mov eax, dword [0x4853e0]
xor ecx, ecx
cmp edx, ebp
jle 0x447ccb
mov word [eax + 0xc], bp
mov dword [eax + 0x1c], ebp
mov dword [eax + 0x20], ebp
mov edx, dword [0x4853d0]
inc ecx
cmp ecx, edx
jl 0x447cb6
mov eax, 0xcccccccd
xor esi, esi
mul dword [esp + 0x50]
mov edi, edx
shr edi, 3
cmp edi, ebp
jle 0x447d75
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x1c]
push ebp
push eax
lea ecx, [esp + 0x18]
push 0xa
push ecx
push edx
call ebx
mov eax, dword [0x483a8c]
mov eax, dword [eax + esi*4]
cmp eax, ebp
jl 0x447d5c
mov edx, dword [0x4853e0]
lea ecx, [eax + eax*8]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x10]
cmp cx, bp
je 0x447d5c
test ch, 0x10
je 0x447d25
or byte [eax + 0xd], 0x10
mov ecx, dword [esp + 0x10]
test ch, 0x20
je 0x447d32
or byte [eax + 0xd], 0x20
mov ecx, dword [esp + 0x10]
test ch, 0x40
je 0x447d3f
or byte [eax + 0xd], 0x40
mov ecx, dword [esp + 0x10]
test ch, 1
je 0x447d4c
or byte [eax + 0xd], 1
mov ecx, dword [esp + 0x10]
test ch, 2
je 0x447d5c
or byte [eax + 0xd], 2
mov ecx, dword [esp + 0x12]
mov dword [eax + 0x1c], ecx
inc esi
cmp esi, edi
jl 0x447ce3
jmp 0x447d75
lea edx, [esp + 0x40]
lea eax, [esp + 0x60]
push edx
push eax
call fcn.004082f0
add esp, 8
lea ecx, [esp + 0x40]
lea edx, [esp + 0x60]
push ecx
push edx
call fcn.00408200
add esp, 8
test eax, eax
jne 0x447c89
lea eax, [esp + 0x60]
push eax
call fcn.004083f0
mov ecx, dword [0x483a8c]
mov dword [0x4856b8], ebp
push ecx
call fcn.00450d9f
add esp, 8
mov dword [0x483a8c], ebp
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x178
ret