Function at 0x1000db13
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x1004edac
call fcn.1004e1f0
sub esp, 0x1c0
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], ebx
push 0x7f
lea eax, [ebp - 0x14b]
push ebx
mov dword [ebp - 4], ebx
push eax
mov byte [ebp - 0x14c], bl
call fcn.10038c70
add esp, 0xc
lea eax, [ebp - 0x1cb]
push 0x7f
push ebx
push eax
mov byte [ebp - 0x1cc], bl
call fcn.10038c70
add esp, 0xc
cmp dword [ebp + 0x24], 0x10
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push 0x1005b66c
push eax
call fcn.10033218
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1000de2a
push eax
push 0x80
lea eax, [ebp - 0x14c]
push 1
push eax
call fcn.1003343a
lea edx, [ebp - 0x14c]
add esp, 0x10
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1000dba4
sub edx, ecx
mov dword [ebp - 0x20], edx
je 0x1000de05
xor eax, eax
lea edi, [ebp - 0x6f]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
push 7
pop ecx
mov byte [ebp - 0x90], bl
lea edi, [ebp - 0x8f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 8
xor eax, eax
mov byte [ebp - 0xcc], bl
pop ecx
lea edi, [ebp - 0xcb]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea esi, [ebp - 0x14c]
lea edi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
cmp edx, 0x30
jle 0x1000dc1c
lea eax, [edx - 0x30]
push eax
lea eax, [ebp - 0x141]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.10036340
mov edx, dword [ebp - 0x20]
add esp, 0xc
jmp 0x1000dc2d
lea esi, [ebp - 0x141]
lea edi, [ebp - 0x90]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
cmp edx, 0x3b
jle 0x1000dc8a
push 9
pop ecx
lea esi, [ebp + edx - 0x170]
lea edi, [ebp - 0xcc]
push 0x24
lea eax, [ebp - 0xcc]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.10001f26
mov ecx, dword [ebp - 0x24]
add ecx, 0xe0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 1
cmp ecx, eax
je 0x1000dc7f
push 0xffffffffffffffff
push ebx
push eax
call fcn.10001e92
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.10001d92
lea eax, [ebp - 0x70]
push eax
call fcn.1003307d
cdq
add eax, 0x7080
mov dword [ebp - 0x44], eax
pop ecx
lea eax, [ebp - 0x44]
adc edx, ebx
push eax
mov dword [ebp - 0x40], edx
call fcn.10033a2b
pop ecx
mov ecx, dword [eax + 0x14]
mov ebx, dword [eax + 8]
mov edi, dword [eax + 4]
mov esi, dword [eax]
add ecx, 0x76c
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax + 0x10]
inc ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [eax + 0xc]
push 0
mov dword [ebp - 0x34], ecx
call fcn.10033990
add eax, 0x7080
mov dword [ebp - 0x4c], eax
pop ecx
lea eax, [ebp - 0x4c]
adc edx, 0
push eax
mov dword [ebp - 0x48], edx
call fcn.10033a2b
mov edx, dword [eax + 0x14]
pop ecx
mov ecx, dword [eax + 0x10]
add edx, 0x76c
mov dword [ebp - 0x18], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x20], edx
lea edx, [ebp - 0x90]
push edx
push dword [eax]
mov edx, dword [ebp - 0x18]
push dword [eax + 4]
inc ecx
push dword [eax + 8]
lea eax, [ebp - 0x1cc]
push dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
push ecx
push edx
push esi
mov esi, dword [ebp - 0x30]
push edi
mov edi, dword [ebp - 0x38]
push ebx
mov ebx, dword [ebp - 0x34]
push ebx
push esi
push edi
push 0x1005b670
push eax
call fcn.10032575
add esp, 0x3c
lea eax, [ebp - 0x1cc]
push eax
call fcn.1000191f
pop ecx
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x1cc]
push eax
call fcn.10001f26
lea ecx, [ebp - 0x14c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000dd66
sub ecx, edx
je 0x1000de1d
cmp dword [ebp - 0x18], edi
jne 0x1000dddb
cmp dword [ebp - 0x28], esi
jne 0x1000dddb
cmp dword [ebp - 0x20], ebx
jne 0x1000dddb
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0xa8]
push eax
call fcn.100112be
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x2c], 1
jb 0x1000dda2
mov eax, dword [eax]
lea ecx, [ebp - 0x90]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1000ddca
test dl, dl
je 0x1000ddc4
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1000ddca
add ecx, 2
add eax, 2
test dl, dl
jne 0x1000dda8
xor ebx, ebx
mov eax, ebx
jmp 0x1000ddd1
sbb eax, eax
or eax, 1
xor ebx, ebx
test eax, eax
je 0x1000dddd
mov byte [ebp - 0x11], 1
jmp 0x1000dde0
xor ebx, ebx
mov byte [ebp - 0x11], bl
test byte [ebp - 0x2c], 1
je 0x1000ddf1
lea ecx, [ebp - 0xa8]
call fcn.10001d92
cmp byte [ebp - 0x11], 0
je 0x1000de1f
push dword [ebp - 0x1c]
call fcn.10033552
pop ecx
jmp 0x1000df66
mov esi, 0x1005b6ac
push esi
call fcn.1000191f
pop ecx
mov ecx, dword [ebp + 8]
push eax
push esi
call fcn.10001f26
jmp 0x1000de1f
xor ebx, ebx
push dword [ebp - 0x1c]
call fcn.10033552
pop ecx
jmp 0x1000dea7
cmp dword [ebp + 0x24], 0x10
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.1000c0f3
mov byte [ebp - 4], 2
push 0x2f
push dword [ebp - 0x18]
call fcn.100345ae
pop ecx
pop ecx
test eax, eax
jne 0x1000de57
or eax, 0xffffffff
jmp 0x1000de5a
sub eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.10015793
push 0x1005b6c0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.1000c146
mov edi, dword [ebp - 0x1c]
push ecx
lea ecx, [edi - 0x10]
mov esi, esp
call fcn.100095d7
add eax, 0x10
mov dword [esi], eax
call fcn.1001bd5d
pop ecx
lea ecx, [edi - 0x10]
call fcn.100048c9
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.100048c9
cmp dword [ebp + 0xc], 0
jne 0x1000df64
cmp dword [ebp + 0x24], 0x10
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push 0x1005b6c4
push eax
call fcn.10033218
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1000df4e
push ebx
call fcn.10033990
mov ebx, dword [ebp - 0x24]
pop ecx
mov edi, eax
lea eax, [ebp - 0xa8]
push eax
mov ecx, ebx
call fcn.100112be
lea ecx, [ebx + 0xc8]
cmp dword [ecx + 0x14], 0x10
jb 0x1000def7
mov ecx, dword [ecx]
cmp dword [eax + 0x14], 0x10
jb 0x1000deff
mov eax, dword [eax]
push ecx
push eax
push edi
lea eax, [ebp - 0x14c]
push 0x1005b6c8
push eax
call fcn.10032575
add esp, 0x14
lea ecx, [ebp - 0xa8]
call fcn.10001d92
lea ecx, [ebp - 0x14c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000df2a
push esi
sub ecx, edx
push ecx
lea eax, [ebp - 0x14c]
push 1
push eax
call fcn.1003405c
push esi
call fcn.10033552
add esp, 0x14
jmp 0x1000df64
mov esi, 0x1005b6d4
push esi
call fcn.1000191f
pop ecx
mov ecx, dword [ebp + 8]
push eax
push esi
call fcn.10001f26
mov bl, 1
lea ecx, [ebp + 0x10]
call fcn.10001d92
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
leave
ret 0x20