Function at 0x423ae0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x218
push ebx
push ebp
push esi
push edi
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], 0
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x22c]
xor ebp, ebp
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x74]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov ecx, dword [esi + eax*4 + 0x78]
push ecx
call fcn.00423ef0
mov edx, dword [esi + 0x74]
lea eax, [esi + edx*4 + 0x78]
push eax
call fcn.00423eb0
add esp, 8
test eax, eax
je 0x423e9f
cmp dword [esp + 0x234], ebp
jne 0x423c63
mov ecx, dword [esp + 0x230]
lea edx, [esp + 0x28]
push ecx
push edx
push esi
call fcn.00428ca0
lea eax, [esp + 0x28]
lea ecx, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0x30], 0x72
mov byte [esp + 0x31], 0x62
mov byte [esp + 0x32], 0
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 0x14
cmp edi, ebp
je 0x423e9f
mov ebx, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push ebp
push edi
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_ftell]
push ebp
push ebp
push edi
mov dword [esp + 0x3c], eax
call ebx
mov edx, dword [esp + 0x3c]
inc edx
push edx
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, dword [sym.imp.MSVCRT.dll_fclose]
mov ebp, eax
add esp, 0x20
mov dword [esp + 0x24], ebp
test ebp, ebp
jne 0x423bfa
lea eax, [esp + 0x10]
mov byte [esp + 0x10], 0xc4
push eax
push esi
mov byte [esp + 0x19], 0xda
mov byte [esp + 0x1a], 0xb4
mov byte [esp + 0x1b], 0xe6
mov byte [esp + 0x1c], 0xb2
mov byte [esp + 0x1d], 0xbb
mov byte [esp + 0x1e], 0xd7
mov byte [esp + 0x1f], 0xe3
mov byte [esp + 0x20], 0
call fcn.00423660
push edi
call ebx
add esp, 0xc
mov ecx, dword [esp + 0x20]
push edi
push ecx
push 1
push ebp
call dword [sym.imp.MSVCRT.dll_fread]
push edi
call ebx
mov edx, dword [esp + 0x34]
mov byte [edx + ebp], 0
mov eax, dword [esp + 0x34]
push eax
push ebp
call fcn.0042a1e0
add esp, 0x1c
test eax, eax
je 0x423c5d
mov edx, dword [esp + 0x20]
lea ecx, [esi + 0x22c8]
push ecx
push edx
push ebp
call fcn.00429ea0
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
jne 0x423c5a
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret
add ebp, 8
mov dword [esp + 0x1c], ebp
jmp 0x423cc2
mov al, 0x64
mov cl, 0x25
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 0x10], cl
mov byte [esp + 0x13], cl
lea eax, [esp + 0x20]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x234]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x22], 0x2c
mov byte [esp + 0x25], 0
call dword [sym.imp.MSVCRT.dll_sscanf]
mov ecx, dword [esp + 0x2c]
add esp, 0x10
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x423e9f
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.00417d70
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x423d06
mov eax, dword [esp + 0x234]
test eax, eax
jne 0x423e9f
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret
cmp eax, 0x59d8
jl 0x423d72
lea eax, [esp + 0x10]
mov byte [esp + 0x10], 0xd7
push eax
push esi
mov byte [esp + 0x19], 0xd6
mov byte [esp + 0x1a], 0xbf
mov byte [esp + 0x1b], 0xe2
mov byte [esp + 0x1c], 0xcc
mov byte [esp + 0x1d], 0xab
mov byte [esp + 0x1e], 0xb4
mov byte [esp + 0x1f], 0xf3
mov byte [esp + 0x20], 0
call fcn.00423660
mov eax, dword [esp + 0x23c]
add esp, 8
test eax, eax
jne 0x423e9f
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret
mov ebx, dword [sym.imp.MSVCRT.dll_malloc]
lea edi, [eax*4]
push edi
call ebx
push edi
mov ebp, eax
call ebx
add esp, 8
mov ebx, eax
test ebp, ebp
je 0x423e35
test ebx, ebx
je 0x423e35
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
push ebp
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
mov edi, ebx
lea ecx, [eax*4]
xor eax, eax
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 + 0x28]
mov edi, dword [esp + 0x24]
push eax
push edi
call fcn.00417db0
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x74]
push ecx
mov ecx, dword [esp + 0x34]
mov eax, dword [esi + edx*4 + 0x78]
push ebx
push ebp
push eax
push ecx
push edi
push esi
call fcn.00423f10
mov eax, dword [esp + 0x260]
mov edi, dword [sym.imp.MSVCRT.dll_free]
add esp, 0x2c
test eax, eax
jne 0x423e17
mov edx, dword [esp + 0x24]
push edx
call edi
add esp, 4
push ebp
call edi
push ebx
call edi
mov eax, dword [esi + 0x74]
push eax
push esi
call fcn.00424550
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret
mov eax, dword [esp + 0x234]
mov edi, dword [sym.imp.MSVCRT.dll_free]
test eax, eax
jne 0x423e50
mov ecx, dword [esp + 0x24]
push ecx
call edi
add esp, 4
test ebp, ebp
je 0x423e5a
push ebp
call edi
add esp, 4
test ebx, ebx
je 0x423e64
push ebx
call edi
add esp, 4
lea edx, [esp + 0x10]
mov byte [esp + 0x10], 0xc4
push edx
push esi
mov byte [esp + 0x19], 0xda
mov byte [esp + 0x1a], 0xb4
mov byte [esp + 0x1b], 0xe6
mov byte [esp + 0x1c], 0xb2
mov byte [esp + 0x1d], 0xbb
mov byte [esp + 0x1e], 0xd7
mov byte [esp + 0x1f], 0xe3
mov byte [esp + 0x20], 0
call fcn.00423660
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x218
ret