Function at 0x1004bff0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2b7f2d6
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x2bb76d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.1006d4a0
add esp, 8
mov dword [ebp - 4], 0
movzx edx, byte [ebp - 0x30]
neg edx
sbb edx, edx
add edx, 1
movzx eax, dl
test eax, eax
je 0x1004c06c
mov byte [ebp - 0xa1], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.1001ac80
mov al, byte [ebp - 0xa1]
jmp 0x1004c3f4
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x104]
call fcn.1004dab0
mov byte [ebp - 4], 2
lea edx, [ebp - 0xe4]
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x130]
mov byte [eax], 0
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x134], ecx
mov edx, dword [ebp - 0x134]
mov byte [edx], 0
mov byte [ebp - 4], 5
mov byte [ebp - 4], 6
mov byte [ebp - 4], 0
lea eax, [ebp - 0x104]
mov dword [ebp - 0x1dc], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x120]
push ecx
mov ecx, dword [ebp - 0x1dc]
call fcn.1006b050
mov dword [ebp - 0x1e0], eax
mov edx, dword [ebp - 0x1e0]
mov dword [ebp - 0x1e4], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1e4]
push eax
call fcn.1006bd00
add esp, 4
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], edx
mov byte [ebp - 4], 9
mov byte [ebp - 4], 7
push 0
push 1
lea ecx, [ebp - 0x120]
call fcn.1001e000
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x104]
call fcn.10001510
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14c], ecx
mov edx, dword [ebp - 0x14c]
cmp dword [edx + 0x18], 0x10
jb 0x1004c163
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1e8], ecx
jmp 0x1004c172
mov edx, dword [ebp - 0x14c]
add edx, 4
mov dword [ebp - 0x1e8], edx
push 0x2b91ba4
mov eax, dword [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.100d1b72
add esp, 0xc
cmp dword [ebp - 0x68], 0
jne 0x1004c1b8
mov byte [ebp - 0x121], 0
mov dword [ebp - 4], 0xa
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.1001ac80
mov al, byte [ebp - 0x121]
jmp 0x1004c3f4
lea edx, [ebp - 0x15d]
mov dword [ebp - 0x15c], edx
mov byte [ebp - 0x155], 0
lea eax, [ebp - 0x155]
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x94]
call fcn.1004d2f0
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x90], 0
jne 0x1004c1fd
mov dword [ebp - 0x1ec], 0
jmp 0x1004c20f
mov edx, dword [ebp - 0x8c]
sub edx, dword [ebp - 0x90]
mov dword [ebp - 0x1ec], edx
cmp dword [ebp - 0x1ec], 0
ja 0x1004c21d
call fcn.100d0654
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
push 1
mov edx, dword [ebp - 0x90]
push edx
call fcn.100d1a80
add esp, 0x10
mov eax, dword [ebp - 0x68]
push eax
call fcn.100d1768
add esp, 4
cmp dword [ebp - 0x90], 0
jne 0x1004c25a
mov dword [ebp - 0x1f0], 0
jmp 0x1004c26c
mov ecx, dword [ebp - 0x8c]
sub ecx, dword [ebp - 0x90]
mov dword [ebp - 0x1f0], ecx
cmp dword [ebp - 0x1f0], 0
ja 0x1004c27a
call fcn.100d0654
mov edx, dword [ebp - 0x9c]
push edx
mov eax, dword [ebp - 0x90]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.100815a0
add esp, 0xc
mov dl, byte [0x2b8fd05]
mov byte [ebp - 0x54], dl
xor eax, eax
mov dword [ebp - 0x53], eax
mov dword [ebp - 0x4f], eax
mov dword [ebp - 0x4b], eax
mov dword [ebp - 0x47], eax
mov dword [ebp - 0x43], eax
mov dword [ebp - 0x3f], eax
mov dword [ebp - 0x3b], eax
mov dword [ebp - 0x37], eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.100815e0
add esp, 8
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x84]
call fcn.1001c3d0
mov byte [ebp - 4], 0xc
mov dword [ebp - 0xa0], 0x2bc03e0
jmp 0x1004c2f5
mov ecx, dword [ebp - 0xa0]
add ecx, 0x1c
mov dword [ebp - 0xa0], ecx
push 0x2b91ba0
call fcn.100cdcc0
add esp, 4
mov dword [ebp - 0x174], eax
mov edx, dword [ebp - 0x174]
push edx
push 0x2b91ba0
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x14]
push ecx
push 0
mov ecx, dword [ebp - 0xa0]
call fcn.1001d790
neg eax
sbb eax, eax
add eax, 1
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
movzx eax, dl
test eax, eax
je 0x1004c3af
mov ecx, dword [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x84]
call fcn.1001c540
neg eax
sbb eax, eax
add eax, 1
movzx edx, al
test edx, edx
je 0x1004c3aa
mov byte [ebp - 0x122], 1
mov byte [ebp - 4], 0xb
push 0
push 1
lea ecx, [ebp - 0x84]
call fcn.1001d850
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.1004d3f0
mov dword [ebp - 4], 0xd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.1001ac80
mov al, byte [ebp - 0x122]
jmp 0x1004c3f4
jmp 0x1004c2e6
mov byte [ebp - 0x123], 0
mov byte [ebp - 4], 0xb
push 0
push 1
lea ecx, [ebp - 0x84]
call fcn.1001d850
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.1004d3f0
mov dword [ebp - 4], 0xe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.1001ac80
mov al, byte [ebp - 0x123]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100cdbfc
mov esp, ebp
pop ebp
ret