Function at 0x475ec0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x475eed
cmp dword [ebp + 0xc], 0
jne 0x475ef4
xor eax, eax
jmp 0x476289
push 0x64
call fcn.00448e99
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x475f0e
xor eax, eax
jmp 0x476289
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x28], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 0xc]
mov dword [ecx], 0
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x48], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x38], 0
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3c], 0
push 0
push 0
push 0
call fcn.004762a0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x4c], eax
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x50], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00448da2
add esp, 4
lea edx, [eax + eax + 2]
push edx
call fcn.00448e99
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x54], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x54], 0
jne 0x475fe8
mov eax, dword [ebp - 0xc]
push eax
call fcn.00475800
add esp, 4
xor eax, eax
jmp 0x476289
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x54]
push eax
call fcn.0044ac48
add esp, 8
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x5c], 0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
jmp 0x476013
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
test edx, edx
je 0x4760a3
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
cmp ecx, 0x72
jne 0x476035
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x5c], 0x72
jmp 0x47609e
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
cmp ecx, 0x77
je 0x47604b
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
cmp eax, 0x61
jne 0x476054
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x5c], 0x77
jmp 0x47609e
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
cmp eax, 0x30
jl 0x476078
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
cmp edx, 0x39
jg 0x476078
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
sub ecx, 0x30
mov dword [ebp - 8], ecx
jmp 0x47609e
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
cmp eax, 0x66
jne 0x47608c
mov dword [ebp - 0x10], 1
jmp 0x47609e
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
cmp edx, 0x68
jne 0x47609e
mov dword [ebp - 0x10], 2
jmp 0x47600a
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax + 0x5c]
test ecx, ecx
jne 0x4760c1
mov edx, dword [ebp - 0xc]
push edx
call fcn.00475800
add esp, 4
xor eax, eax
jmp 0x476289
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax + 0x5c]
cmp ecx, 0x77
jne 0x476134
push 0x38
push 0x53d4d8
mov edx, dword [ebp - 0x10]
push edx
push 8
push 0xfffffffffffffff1
push 8
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00474300
add esp, 0x20
mov dword [ebp - 0x14], eax
push 0x4000
call fcn.00448e99
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x48]
mov dword [eax + 0xc], edx
cmp dword [ebp - 0x14], 0
jne 0x47611f
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x48], 0
jne 0x476132
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00475800
add esp, 4
xor eax, eax
jmp 0x476289
jmp 0x47618c
push 0x4000
call fcn.00448e99
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x44]
mov dword [eax], edx
push 0x38
push 0x53d4e0
push 0xfffffffffffffff1
mov eax, dword [ebp - 0xc]
push eax
call fcn.004733f0
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x476179
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x44], 0
jne 0x47618c
mov edx, dword [ebp - 0xc]
push edx
call fcn.00475800
add esp, 4
xor eax, eax
jmp 0x476289
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x10], 0x4000
call fcn.0044dc00
mov dword [eax], 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0048fcc0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x40], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x40], 0
jne 0x4761d3
mov eax, dword [ebp - 0xc]
push eax
call fcn.00475800
add esp, 4
xor eax, eax
jmp 0x476289
mov ecx, dword [ebp - 0xc]
movsx edx, byte [ecx + 0x5c]
cmp edx, 0x77
jne 0x476233
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x40]
push edx
call fcn.0044bc7a
add esp, 0xc
push 0xb
push 0
push 0
push 0
push 0
push 0
push 0
push 8
mov eax, dword [0x53d4d4]
push eax
mov ecx, dword [0x53d4d0]
push ecx
push str._c_c_c_c_c_c_c_c_c_c
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x40]
push eax
call fcn.0044f53e
add esp, 0x30
mov ecx, dword [ebp + 0x10]
add ecx, 0xa
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x60], ecx
jmp 0x476286
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x40]
push ecx
push 1
push 0x64
lea edx, [ebp - 0x80]
push edx
call fcn.0044df1b
add esp, 0x10
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x40]
push edx
call fcn.0044bc7a
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
call fcn.00475920
add esp, 4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x40]
push edx
call fcn.0044d3e3
add esp, 4
mov ecx, dword [ebp - 0xc]
sub eax, dword [ecx + 4]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x60], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret