Function at 0x10001440
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004e76e
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0xb8], vtable.FileService.0
push 0x10053434
push eax
lea ecx, [ebp - 0x64]
push ecx
mov dword [ebp - 4], 0
call fcn.10002410
add esp, 0xc
mov ecx, eax
mov eax, esi
lea ebx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.100024f0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x50], 0x10
jb 0x100014c5
mov edx, dword [ebp - 0x64]
push edx
call fcn.10032d80
add esp, 4
xor ebx, ebx
lea edi, [ebp - 0x48]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.10020f80
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x48]
mov edi, 0x10
cmp dword [ebp - 0x34], edi
jae 0x100014f3
lea eax, [ebp - 0x48]
push eax
call fcn.10036f23
mov ecx, dword [ebp - 0x2c]
add esp, 4
cmp dword [ebp - 0x18], edi
jae 0x10001507
lea ecx, [ebp - 0x2c]
call fcn.10020cf0
test al, al
jne 0x10001546
cmp dword [ebp - 0x18], edi
jb 0x10001521
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10032d80
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x34], edi
jb 0x1000153f
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.10032d80
add esp, 4
xor al, al
jmp 0x100017b4
mov dword [ebp - 0x94], 0xf
mov dword [ebp - 0x98], ebx
mov byte [ebp - 0xa8], bl
mov edi, dword [ebp - 0xb4]
push esi
push edi
lea ebx, [ebp - 0xa8]
mov byte [ebp - 4], 5
call fcn.10001df0
mov eax, dword [ebp - 0x78]
xor ebx, ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xb0], ebx
cmp eax, ebx
je 0x10001674
push eax
call fcn.10034252
mov edx, dword [edi + 0x24]
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x78]
push edx
push eax
push 1
push esi
call fcn.1003556c
add esp, 0x10
cmp eax, dword [ebp - 0x78]
je 0x10001621
push esi
call fcn.10032d80
mov esi, 0x10
add esp, 4
cmp dword [ebp - 0x94], esi
jb 0x100015d4
mov ecx, dword [ebp - 0xa8]
push ecx
call fcn.10032d80
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x98], ebx
mov byte [ebp - 0xa8], bl
cmp dword [ebp - 0x18], esi
jb 0x100015fc
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10032d80
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x34], esi
jb 0x1000153f
mov eax, dword [ebp - 0x48]
push eax
call fcn.10032d80
add esp, 4
xor al, al
jmp 0x100017b4
mov ecx, dword [edi + 0x4c]
mov edx, dword [ecx]
lea edi, [ebp - 0xb0]
push edi
lea edi, [ebp - 0xac]
push edi
push eax
mov eax, dword [edx + 4]
push esi
call eax
test al, al
jne 0x1000166a
push esi
call fcn.10032d80
add esp, 4
lea esi, [ebp - 0xa8]
call fcn.10028ef0
lea ecx, [ebp - 0x2c]
call fcn.10002e90
lea ecx, [ebp - 0x48]
call fcn.10002e90
xor al, al
jmp 0x100017b4
mov eax, dword [ebp - 0xac]
cmp eax, ebx
jne 0x100016a8
mov eax, dword [ebp - 0x48]
mov edi, 0x10
cmp dword [ebp - 0x34], edi
jae 0x10001684
lea eax, [ebp - 0x48]
push 0x100546e8
push eax
call fcn.10035645
add esp, 8
cmp eax, ebx
je 0x10001759
push eax
call fcn.100352ae
add esp, 4
jmp 0x10001759
mov ebx, dword [ebp - 0xb0]
push eax
lea eax, [ebp - 0x48]
call fcn.10021020
push esi
test al, al
jne 0x1000173b
call fcn.10032d80
mov ecx, dword [ebp - 0xac]
add esp, 4
push ecx
call fcn.10032d80
mov esi, 0x10
add esp, 4
cmp dword [ebp - 0x94], esi
jb 0x100016ef
mov edx, dword [ebp - 0xa8]
push edx
call fcn.10032d80
add esp, 4
xor ebx, ebx
mov edi, 0xf
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x98], ebx
mov byte [ebp - 0xa8], bl
cmp dword [ebp - 0x18], esi
jb 0x10001719
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10032d80
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x34], esi
jb 0x1000153f
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.10032d80
add esp, 4
xor al, al
jmp 0x100017b4
call fcn.10032d80
mov edx, dword [ebp - 0xac]
add esp, 4
push edx
call fcn.10032d80
add esp, 4
xor ebx, ebx
mov edi, 0x10
cmp dword [ebp - 0x94], edi
jb 0x10001770
mov eax, dword [ebp - 0xa8]
push eax
call fcn.10032d80
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x98], ebx
mov byte [ebp - 0xa8], bl
cmp dword [ebp - 0x18], edi
jb 0x10001798
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.10032d80
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x34], edi
jb 0x100017b2
mov edx, dword [ebp - 0x48]
push edx
call fcn.10032d80
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10034d1a
mov esp, ebp
pop ebp
ret 8