Function at 0x42ee20
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x5d8
mov eax, dword [0x4805f4]
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
mov dword [esp + 0x18], str.maps
mov dword [esp + 0x1c], str.teammaps
je 0x42ee7a
mov eax, dword [0x47e14c]
xor esi, esi
cmp eax, ebx
jle 0x42ee6b
mov eax, dword [0x4805f4]
mov ecx, dword [eax + esi*4]
push ecx
call sub.MSVCRT.dll_free
mov eax, dword [0x47e14c]
add esp, 4
inc esi
cmp esi, eax
jl 0x42ee50
mov edx, dword [0x4805f4]
push edx
call sub.MSVCRT.dll_free
add esp, 4
mov eax, dword [0x47ce30]
mov dword [0x4805f4], ebx
mov dword [0x47e14c], ebx
mov ecx, dword [esp + eax*4 + 0x18]
push ecx
call fcn.00425c30
push eax
push str._s__s.lst
lea edx, [esp + 0x1f4]
push 0x400
push edx
call fcn.004397ec
lea eax, [esp + 0x1fc]
push 0x45693c
push eax
call sub.MSVCRT.dll_fopen
mov ebp, eax
add esp, 0x1c
cmp ebp, ebx
jne 0x42ef17
mov edx, dword [0x47ce30]
lea ecx, [esp + 0x10]
push ecx
mov eax, dword [esp + edx*4 + 0x1c]
push eax
push str._s.lst
call fcn.004393ee
add esp, 8
push eax
call fcn.0042583e
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
jne 0x42ef3c
mov ecx, dword [0x47ce30]
mov edx, dword [esp + ecx*4 + 0x18]
push edx
push str.couldnt_find__s.lst_n
call fcn.004393ee
push eax
push 1
call fcn.0042071a
add esp, 0x10
jmp 0x42ef3c
push ebp
call sub.MSVCRT.dll__fileno
push eax
call sub.MSVCRT.dll__filelength
mov esi, eax
push esi
call sub.MSVCRT.dll_malloc
push ebp
push 1
push esi
push eax
mov dword [esp + 0x2c], eax
call sub.MSVCRT.dll_fread
add esp, 0x1c
mov edi, dword [esp + 0x10]
xor ecx, ecx
xor edx, edx
cmp esi, ebx
mov dword [esp + 0x14], edi
jle 0x42ef88
mov al, byte [ecx + edi]
cmp al, 0x61
jl 0x42ef5c
cmp al, 0x7a
jg 0x42ef5c
mov edx, 1
cmp al, 0x41
jl 0x42ef67
jg 0x42ef67
mov edx, 1
cmp al, 0xd
je 0x42ef72
lea eax, [esi - 1]
cmp ecx, eax
jne 0x42ef83
cmp edx, ebx
je 0x42ef83
mov eax, dword [0x47e14c]
inc eax
xor edx, edx
mov dword [0x47e14c], eax
inc ecx
cmp ecx, esi
jl 0x42ef4c
cmp dword [0x47e14c], ebx
jne 0x42efb0
mov ecx, dword [0x47ce30]
mov edx, dword [esp + ecx*4 + 0x18]
push edx
push str.no_maps_in__s.lst_n
call fcn.004393ee
push eax
push 1
call fcn.0042071a
add esp, 0x10
mov eax, dword [0x47e14c]
lea ecx, [eax*4 + 4]
push ecx
call sub.MSVCRT.dll_malloc
mov edx, dword [0x47e14c]
mov edi, eax
xor eax, eax
mov dword [0x4805f4], edi
lea ecx, [edx*4 + 4]
add esp, 4
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [0x47e14c]
test eax, eax
jle 0x42f10a
lea ecx, [esp + 0x14]
push ecx
call fcn.0043941d
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor esi, esi
mov edi, ecx
test edi, edi
jle 0x42f05c
movsx ecx, byte [esp + esi + 0x20]
push ecx
call sub.MSVCRT.dll_toupper
add esp, 4
mov byte [esp + esi + 0x20], al
inc esi
cmp esi, edi
jl 0x42f045
lea edx, [esp + 0x14]
push edx
call fcn.0043941d
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x16c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x16c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0xa4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
push edx
push str._s_n_s
push 0xc8
push eax
call fcn.004397ec
lea edi, [esp + 0xb8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call sub.MSVCRT.dll_malloc
mov ecx, dword [0x4805f4]
lea edi, [esp + 0xbc]
add esp, 0x1c
mov dword [ecx + ebx*4], eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [0x4805f4]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [eax + ebx*4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
inc ebx
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x47e14c]
cmp ebx, eax
jl 0x42efff
mov ecx, dword [0x4805f4]
pop edi
pop esi
test ebp, ebp
pop ebp
mov dword [ecx + eax*4], 0
pop ebx
je 0x42f133
mov edx, dword [esp]
push edx
call sub.MSVCRT.dll_free
add esp, 4
add esp, 0x5d8
ret
mov eax, dword [esp]
push eax
call fcn.004258cf
add esp, 4
add esp, 0x5d8
ret