Function at 0x1000df80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x100bb300]
xor eax, esp
mov dword [esp + 0x28], eax
cmp dword [ecx + 0x3c], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x1000e283
cmp byte [ecx + 0x41], 0
je 0x1000e283
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x1000e266
mov ecx, 0xf
xor eax, eax
mov byte [esp + 0x1c], 0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], 8
cmp ecx, 0x10
jae 0x1000dfea
lea eax, [esp + 0x1c]
mov byte [eax + 8], 0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
cmp edx, 0x10
jb 0x1000e109
mov ebx, eax
mov dword [esp + 0x10], ebx
test eax, eax
je 0x1000e02d
mov ecx, eax
cmp edx, 0x10
jae 0x1000e014
lea ecx, [esp + 0x1c]
cmp ecx, ebx
ja 0x1000e02d
mov ecx, eax
cmp edx, 0x10
jae 0x1000e023
lea ecx, [esp + 0x1c]
mov esi, dword [esp + 0x2c]
add ecx, esi
cmp ebx, ecx
jbe 0x1000e03a
call fcn.100848cc
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp ecx, 0xfffffffc
je 0x1000e065
mov ecx, eax
cmp edx, 0x10
jae 0x1000e04e
lea ecx, [esp + 0x1c]
mov esi, dword [esp + 0x2c]
add ecx, esi
cmp ebx, ecx
jb 0x1000e065
call fcn.100848cc
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
cmp edx, 0x10
jb 0x1000e116
mov esi, eax
test eax, eax
je 0x1000e0a0
mov ecx, eax
cmp edx, 0x10
jae 0x1000e083
lea ecx, [esp + 0x1c]
cmp ecx, esi
ja 0x1000e0a0
mov ecx, eax
cmp edx, 0x10
jae 0x1000e092
lea ecx, [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
add ecx, ebx
mov ebx, dword [esp + 0x10]
cmp esi, ecx
jbe 0x1000e0ad
call fcn.100848cc
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp ecx, 0xfffffffc
je 0x1000e0ce
cmp edx, 0x10
jae 0x1000e0bf
lea eax, [esp + 0x1c]
mov edx, dword [esp + 0x2c]
add eax, edx
cmp esi, eax
jb 0x1000e0ce
call fcn.100848cc
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x10]
add ebx, edi
push ebx
push esi
add eax, 0x44
push eax
call edx
sub eax, 0
je 0x1000e11f
sub eax, 1
je 0x1000e127
sub eax, 2
lea ecx, [esp + 0x18]
jne 0x1000e261
jmp 0x1000e27e
lea ebx, [esp + 0x1c]
mov dword [esp + 0x10], ebx
jmp 0x1000e009
lea esi, [esp + 0x1c]
jmp 0x1000e078
mov eax, dword [esp + 0xc]
mov byte [eax + 0x41], 0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
cmp edx, 0x10
jb 0x1000e24b
mov esi, eax
test eax, eax
je 0x1000e162
mov ecx, eax
cmp edx, 0x10
jae 0x1000e149
lea ecx, [esp + 0x1c]
cmp ecx, esi
ja 0x1000e162
mov ecx, eax
cmp edx, 0x10
jae 0x1000e158
lea ecx, [esp + 0x1c]
mov edi, dword [esp + 0x2c]
add ecx, edi
cmp esi, ecx
jbe 0x1000e16f
call fcn.100848cc
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp ecx, 0xfffffffc
je 0x1000e19a
mov ecx, eax
cmp edx, 0x10
jae 0x1000e183
lea ecx, [esp + 0x1c]
mov edi, dword [esp + 0x2c]
add ecx, edi
cmp esi, ecx
jb 0x1000e19a
call fcn.100848cc
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
sub edi, esi
je 0x1000e227
cmp edx, 0x10
jb 0x1000e254
mov esi, eax
test eax, eax
je 0x1000e1d9
mov ecx, eax
cmp edx, 0x10
jae 0x1000e1c0
lea ecx, [esp + 0x1c]
cmp ecx, esi
ja 0x1000e1d9
mov ecx, eax
cmp edx, 0x10
jae 0x1000e1cf
lea ecx, [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
add ecx, ebx
cmp esi, ecx
jbe 0x1000e1e6
call fcn.100848cc
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp ecx, 0xfffffffc
je 0x1000e207
cmp edx, 0x10
jae 0x1000e1f8
lea eax, [esp + 0x1c]
mov edx, dword [esp + 0x2c]
add eax, edx
cmp esi, eax
jb 0x1000e207
call fcn.100848cc
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x4c]
push ecx
push edi
push 1
push esi
call fcn.10085d77
add esp, 0x10
cmp edi, eax
jne 0x1000e25d
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
cmp byte [ecx + 0x41], 0
je 0x1000e27a
test edi, edi
jne 0x1000dff6
push edi
lea eax, [edi + 8]
lea edi, [esp + 0x1c]
call fcn.1000dbc0
jmp 0x1000dfee
lea esi, [esp + 0x1c]
jmp 0x1000e13e
lea esi, [esp + 0x1c]
jmp 0x1000e1b5
lea ecx, [esp + 0x18]
call fcn.10003050
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.10083dbb
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x18]
call fcn.10003050
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.10083dbb
mov esp, ebp
pop ebp
ret