Function at 0x100d9bc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10190c20
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x101d8724]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0x44], 0xffffffff
mov eax, dword [ebp - 0x44]
xor ecx, ecx
cmp eax, dword [ebp + 8]
sete cl
movzx edx, cl
test edx, edx
je 0x100d9c38
cmp dword [ebp + 8], 0xffffffff
je 0x100d9c1b
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd0], eax
jmp 0x100d9c2b
or ecx, 0xffffffff
neg ecx
sbb ecx, ecx
add ecx, 1
mov dword [ebp - 0xd0], ecx
mov eax, dword [ebp - 0xd0]
jmp 0x100da035
mov edx, dword [ebp - 0xcc]
mov eax, dword [edx + 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x6c], 0
je 0x100d9c95
mov edx, dword [ebp - 0xcc]
mov eax, dword [edx + 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0xcc]
mov eax, dword [edx + 0x34]
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ecx + 0x24]
mov ecx, dword [edx]
add ecx, dword [eax]
cmp dword [ebp - 0x70], ecx
jae 0x100d9c95
mov dl, byte [ebp + 8]
mov byte [ebp - 0x71], dl
mov ecx, dword [ebp - 0xcc]
call fcn.10085e70
mov cl, byte [ebp - 0x71]
mov byte [eax], cl
mov eax, dword [ebp + 8]
jmp 0x100da035
mov edx, dword [ebp - 0xcc]
cmp dword [edx + 0x54], 0
jne 0x100d9ca9
or eax, 0xffffffff
jmp 0x100da035
mov ecx, dword [ebp - 0xcc]
call fcn.100db770
mov eax, dword [ebp - 0xcc]
cmp dword [eax + 0x44], 0
jne 0x100d9d17
mov cl, byte [ebp + 8]
mov byte [ebp - 0x79], cl
mov edx, dword [ebp - 0xcc]
mov eax, dword [edx + 0x54]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
push ecx
movsx edx, byte [ebp - 0x79]
push edx
call fcn.101517e0
add esp, 8
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
movzx edx, cl
test edx, edx
je 0x100d9cfd
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd4], eax
jmp 0x100d9d07
mov dword [ebp - 0xd4], 0xffffffff
mov eax, dword [ebp - 0xd4]
jmp 0x100da035
mov dword [ebp - 0x10], 8
mov cl, byte [ebp + 8]
mov byte [ebp - 0x15], cl
lea edx, [ebp - 0x89]
mov dword [ebp - 0x88], edx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 4], 0
push 0
push 0
lea ecx, [ebp - 0x3c]
call fcn.10042350
push 0
push 8
lea ecx, [ebp - 0x3c]
call fcn.100db860
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.10088bb0
mov dword [ebp - 0x90], eax
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x90]
push edx
lea ecx, [ebp - 0x48]
call fcn.1010e950
xor eax, eax
jne 0x100d9d80
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x98], edx
lea ecx, [ebp - 0x3c]
call fcn.10088bb0
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.1010e950
xor edx, edx
jne 0x100d9db7
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0xa4], edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x94]
add ecx, dword [ebp - 0x98]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x15]
push edx
mov eax, dword [ebp - 0xcc]
add eax, 0x4c
push eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
jl 0x100d9ff0
cmp dword [ebp - 0xdc], 1
jle 0x100d9e42
cmp dword [ebp - 0xdc], 3
je 0x100d9f75
jmp 0x100d9ff0
lea ecx, [ebp - 0x3c]
call fcn.10088bb0
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0xa8]
push edx
lea ecx, [ebp - 0x50]
call fcn.1010e950
xor eax, eax
jne 0x100d9e63
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x50]
mov dword [ebp - 0x40], ecx
je 0x100d9ee3
lea ecx, [ebp - 0x3c]
call fcn.10088bb0
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x54], edx
xor eax, eax
jne 0x100d9e89
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xcc]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
push 1
mov edx, dword [ebp - 0xb0]
push edx
call fcn.101509e1
add esp, 0x10
cmp dword [ebp - 0x40], eax
je 0x100d9ee3
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.10042350
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x58]
jmp 0x100da035
mov eax, dword [ebp - 0xcc]
mov byte [eax + 0x49], 1
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x15]
cmp ecx, edx
je 0x100d9f1f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.10042350
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x5c]
jmp 0x100da035
cmp dword [ebp - 0x40], 0
jbe 0x100d9f27
jmp 0x100d9f70
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0xb4], ecx
cmp dword [ebp - 0xb4], 0x20
jae 0x100d9f47
push 0
push 8
lea ecx, [ebp - 0x3c]
call fcn.10085a10
jmp 0x100d9f70
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 4], 4
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.10042350
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x60]
jmp 0x100da035
jmp 0x100da016
mov edx, dword [ebp - 0xcc]
mov eax, dword [edx + 0x54]
mov dword [ebp - 0xc0], eax
mov cl, byte [ebp - 0x15]
mov byte [ebp - 0xb9], cl
mov edx, dword [ebp - 0xc0]
push edx
movsx eax, byte [ebp - 0xb9]
push eax
call fcn.101517e0
add esp, 8
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
movzx edx, cl
test edx, edx
je 0x100d9fbe
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe0], eax
jmp 0x100d9fc8
mov dword [ebp - 0xe0], 0xffffffff
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 4], 5
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.10042350
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x64]
jmp 0x100da035
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 4], 6
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.10042350
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x68]
jmp 0x100da035
jmp 0x100d9d5f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.1014c68a
mov esp, ebp
pop ebp
ret 4