Function at 0x4a7360
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe14
push ebx
and dword [ebp - 4], 0
and dword [ebp - 0xc], 0
push esi
push edi
mov edi, dword [ebp + 8]
push dword [edi]
call fcn.0048f76f
push dword [0x5459e0]
mov dword [ebp - 8], eax
call fcn.0043e8d8
pop ecx
mov dword [0x55ab1c], eax
test eax, eax
pop ecx
jne 0x4a73b6
mov esi, 0x332
push 2
push esi
push 0x545598
push dword [ebp - 8]
call fcn.0045fd8e
add esp, 0x10
mov eax, esi
jmp 0x4a75ea
mov ebx, dword [ebp + 0x14]
mov esi, str.START_AUTH_STRS
push ebx
push esi
push dword [ebp + 0xc]
push edi
call fcn.004a75ef
mov ecx, 0x33b
add esp, 0x10
cmp eax, ecx
jne 0x4a73dc
mov edi, ecx
jmp 0x4a75d8
mov edi, 0x32d
cmp eax, edi
jne 0x4a73ee
push 0x54a0b4
push 2
jmp 0x4a740f
push 0x51b96c
push dword [ebp + 0xc]
call fcn.004de577
mov edi, eax
pop ecx
test edi, edi
pop ecx
jne 0x4a7425
push 0x54a0b4
push 2
mov edi, 0x32d
push edi
push 0x545598
push dword [ebp - 8]
call fcn.0045fd8e
add esp, 0x14
jmp 0x4a75d8
push 0
push esi
call fcn.004d9400
add eax, dword [ebx]
pop ecx
push eax
push edi
call fcn.004de42e
lea eax, [ebp - 0x214]
push eax
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00491c8c
add esp, 0x18
test byte [edi + 0xc], 0x10
jne 0x4a75b4
mov esi, 0x400
push edi
push 1
lea eax, [ebp - 0x614]
push esi
push eax
call fcn.004de387
add esp, 0x10
cmp byte [ebp - 0x215], 0x61
je 0x4a7557
push 0x5f
push 0
push 0
lea eax, [ebp - 0xa14]
push esi
push eax
lea eax, [ebp - 0x614]
push eax
push dword [ebp + 8]
call fcn.004a6667
add esp, 0x1c
cmp byte [ebp - 0xa14], 0
je 0x4a75b4
lea eax, [ebp - 0xa14]
push eax
lea eax, [ebp - 0xe14]
push eax
call fcn.004dd750
push dword [ebp + 0x18]
lea eax, [ebp - 0xe14]
push eax
push dword [ebp + 8]
call fcn.0049149b
add esp, 0x14
test eax, eax
jne 0x4a758e
mov eax, dword [ebp + 0x18]
cmp dword [eax], 0xffffffff
jne 0x4a750c
cmp dword [eax + 4], 0
jne 0x4a750c
push edi
call fcn.004e2a59
sub eax, esi
push esi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x614]
push 0
push eax
mov dword [ebp - 4], 0x337
call fcn.004d9ad0
add esp, 0x10
jmp 0x4a754b
lea ecx, [ebp - 0x110]
add eax, 8
push ecx
push eax
push dword [ebp + 8]
call fcn.00491c8c
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.004dd6c0
add esp, 0x14
test eax, eax
je 0x4a75a2
push esi
lea eax, [ebp - 0x614]
push 0
push eax
call fcn.004d9ad0
add esp, 0xc
test byte [edi + 0xc], 0x10
je 0x4a745b
jmp 0x4a75b4
push 2
push 0x322
push 0x545598
push dword [ebp - 8]
call fcn.0045fd8e
add esp, 0x10
cmp dword [ebp - 4], 0x337
je 0x4a7582
push edi
call fcn.004e2a59
pop ecx
sub eax, esi
jmp 0x4a7585
mov eax, dword [ebp - 0xc]
mov dword [ebx], eax
mov edi, 0x322
jmp 0x4a75d8
push edi
call fcn.004e2a59
sub eax, esi
pop ecx
mov dword [ebx], eax
mov dword [ebp - 4], 0x322
jmp 0x4a75b4
push edi
call fcn.004e2a59
sub eax, esi
pop ecx
mov dword [ebx], eax
mov dword [ebp - 4], 0x381
push edi
call fcn.004de06b
mov eax, 0x337
pop ecx
cmp dword [ebp - 4], eax
jne 0x4a75ce
mov ecx, dword [ebp - 0xc]
mov edi, eax
mov dword [ebx], ecx
jmp 0x4a75d8
mov edi, 0x381
cmp dword [ebp - 4], edi
jne 0x4a75e8
push dword [0x55ab1c]
call fcn.004dce85
pop ecx
mov eax, edi
jmp 0x4a75ea
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret