Function at 0x101f6003
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x103b809b
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x10435f38]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov ecx, 0x105548ef
call fcn.10140b69
mov edi, dword [ebp + 8]
mov ecx, esi
push edi
call fcn.10138617
cmp dword [esi + 0x40], 2
lea eax, [ebp - 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
push eax
jb 0x101f5fc3
push 2
lea eax, [ebp + 8]
push eax
push edi
call ebx
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
movsx eax, word [ebp + 8]
mov dword [ebp - 0x20], eax
jmp 0x101f5fcf
push 4
lea eax, [ebp - 0x20]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x20]
mov dword [ebp + 8], 0
test eax, eax
jle 0x101f622c
nop
xor esi, esi
lea eax, [ebp - 0x18]
push esi
push eax
push 4
lea eax, [ebp - 0x30]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x30]
cmp eax, 0xe
ja case.0x101f5ffc.10
jmp dword [eax*4 + 0x101f6484]
push 0xdc
call fcn.1013604c
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x101f61da
mov ecx, eax
call fcn.1013d60d
mov esi, eax
jmp 0x101f61dc
push 0x124
call fcn.1013604c
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x101f61da
mov ecx, eax
call fcn.1013e2ce
mov esi, eax
jmp 0x101f61dc
push 0x184
call fcn.1013604c
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x101f61da
mov ecx, eax
call fcn.1013d75c
mov esi, eax
jmp 0x101f61dc
push 0x120
call fcn.1013604c
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x101f61da
mov ecx, eax
call fcn.101382a7
mov esi, eax
jmp 0x101f61dc
push 0xe8
call fcn.1013604c
add esp, 4
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x101f61da
mov ecx, eax
call fcn.1013f88b
mov esi, eax
jmp 0x101f61dc
push 0x110
call fcn.1013604c
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x101f61da
mov ecx, eax
call fcn.1013f18d
mov esi, eax
jmp 0x101f61dc
push 0xec
call fcn.1013604c
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 6
test eax, eax
je 0x101f61da
mov ecx, eax
call fcn.10139ca1
mov esi, eax
jmp 0x101f61dc
push 0xf4
call fcn.1013604c
add esp, 4
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 7
test eax, eax
je 0x101f61da
mov ecx, eax
call fcn.10141636
mov esi, eax
jmp 0x101f61dc
push 0x114
call fcn.1013604c
add esp, 4
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 8
test eax, eax
je 0x101f61da
mov ecx, eax
call fcn.10142b3a
mov esi, eax
jmp 0x101f61dc
push 0xe0
call fcn.1013604c
add esp, 4
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 9
test eax, eax
je 0x101f61da
mov ecx, eax
call fcn.1013e986
mov esi, eax
jmp 0x101f61dc
push 0x11c
call fcn.1013604c
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 0xa
test eax, eax
je 0x101f61da
mov ecx, eax
call fcn.10139689
mov esi, eax
jmp 0x101f61dc
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x101f6207
mov eax, dword [0x1042f258]
add eax, 0x27
push eax
push str.D:AntiCheat_SRCArmyGuardN3BASEN3UIBase.cpp
push str.Unknown_type_UserInterface___
push str.ERROR____s_n_s:__d_n_n
call fcn.1013583b
add esp, 0x10
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x2c]
call dword [eax + 0x54]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0xc]
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [ebp - 0x20]
jl 0x101f5fe0
mov esi, dword [ebp - 0x2c]
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x24], 0
push eax
push 4
lea eax, [ebp - 0x24]
push eax
push edi
call ebx
cmp dword [ebp - 0x24], 0
jle 0x101f62a8
lea ecx, [ebp - 0xd]
mov byte [ebp + 0xb], 0
call fcn.10134229
push eax
lea eax, [ebp + 0xb]
push eax
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x68]
inc eax
push eax
call fcn.101328f2
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0xb
push eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x68]
push 0
call fcn.1013c4a6
push eax
push edi
call ebx
push 0
lea ecx, [ebp - 0x68]
call fcn.1013c4a6
push eax
lea ecx, [esi + 0x48]
call fcn.1013c253
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
call fcn.1013f5f7
jmp 0x101f62b5
push 0x103cff1e
lea ecx, [esi + 0x48]
call fcn.1013c253
push 0
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [esi + 0xb0]
push eax
push edi
call ebx
push 0
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [esi + 0xc0]
push eax
push edi
call ebx
push 0
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [esi + 0xa8]
push eax
push edi
call ebx
push 0
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [esi + 0xac]
push eax
push edi
call ebx
push 0
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 0x28]
push eax
push edi
call ebx
cmp dword [ebp - 0x28], 0
jle 0x101f6370
lea ecx, [ebp - 0xd]
mov byte [ebp + 0xb], 0
call fcn.10134229
push eax
lea eax, [ebp + 0xb]
push eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x68]
inc eax
push eax
call fcn.101328f2
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0xc
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x68]
push 0
call fcn.1013c4a6
push eax
push edi
call ebx
push 0
lea ecx, [ebp - 0x68]
call fcn.1013c4a6
push eax
lea ecx, [esi + 0x64]
call fcn.1013c253
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
call fcn.1013f5f7
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
push edi
call ebx
cmp dword [ebp - 0x1c], 0
jle 0x101f63f2
lea ecx, [ebp - 0xd]
mov byte [ebp + 0xb], 0
call fcn.10134229
push eax
lea eax, [ebp + 0xb]
push eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x68]
inc eax
push eax
call fcn.101328f2
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x68]
push 0
call fcn.1013c4a6
push eax
push edi
call ebx
cmp dword [esi + 0xd4], 0
je 0x101f63ea
mov eax, dword [0x1042f258]
add eax, 0x4d
push eax
push str.D:AntiCheat_SRCArmyGuardN3BASEN3UIBase.cpp
push str.memory_leak
push str.ERROR____s_n_s:__d_n_n
call fcn.1013583b
add esp, 0x10
lea ecx, [ebp - 0x68]
call fcn.1013f5f7
push 0
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
push edi
call ebx
cmp dword [ebp - 0x1c], 0
jle 0x101f646d
lea ecx, [ebp - 0x11]
mov byte [ebp + 0xb], 0
call fcn.10134229
push eax
lea eax, [ebp + 0xb]
push eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x78]
inc eax
push eax
call fcn.101328f2
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x78]
push 0
call fcn.1013c4a6
push eax
push edi
call ebx
cmp dword [esi + 0xd8], 0
je 0x101f6465
mov eax, dword [0x1042f258]
add eax, 0x56
push eax
push str.D:AntiCheat_SRCArmyGuardN3BASEN3UIBase.cpp
push str.memory_leak
push str.ERROR____s_n_s:__d_n_n
call fcn.1013583b
add esp, 0x10
lea ecx, [ebp - 0x78]
call fcn.1013f5f7
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4