Function at 0x100c2b70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x33c4768
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x340a6ec]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa8], ecx
mov eax, dword [ebp - 0xa8]
cmp dword [eax + 0x44], 0
je 0x100c2bbb
mov ecx, dword [ebp - 0xa8]
movzx edx, byte [ecx + 0x49]
test edx, edx
jne 0x100c2bc7
mov al, 1
jmp 0x100c2e48
mov dword [ebp - 0x10], 8
push 0xffffffffffffffff
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xa8]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], 0xffffffff
mov ecx, dword [ebp - 0x40]
xor edx, edx
cmp ecx, dword [ebp - 0x3c]
sete dl
movzx eax, dl
test eax, eax
je 0x100c2c06
xor al, al
jmp 0x100c2e48
lea ecx, [ebp - 0x5d]
mov dword [ebp - 0x5c], ecx
lea edx, [ebp - 0x34]
mov dword [ebp - 0xac], edx
mov dword [ebp - 4], 0
push 0
push 0
lea ecx, [ebp - 0x34]
call fcn.100444a0
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.100c2f60
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.1006f960
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x44], eax
xor ecx, ecx
jne 0x100c2c4c
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x20], 0x10
jb 0x100c2c6a
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x70], ecx
jmp 0x100c2c70
lea edx, [ebp - 0x34]
mov dword [ebp - 0x70], edx
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x48]
call fcn.1006ce20
xor edx, edx
jne 0x100c2c80
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x78], edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x68]
add ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x74]
push edx
mov eax, dword [ebp - 0xa8]
add eax, 0x4c
push eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x78]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
je 0x100c2ce6
cmp dword [ebp - 0xb0], 1
je 0x100c2cf0
cmp dword [ebp - 0xb0], 3
je 0x100c2de3
jmp 0x100c2e06
mov ecx, dword [ebp - 0xa8]
mov byte [ecx + 0x49], 0
cmp dword [ebp - 0x20], 0x10
jb 0x100c2cfe
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x7c], edx
jmp 0x100c2d04
lea eax, [ebp - 0x34]
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x4c]
call fcn.1006ce20
xor eax, eax
jne 0x100c2d14
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], ecx
je 0x100c2d9e
cmp dword [ebp - 0x20], 0x10
jb 0x100c2d31
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x80], edx
jmp 0x100c2d37
lea eax, [ebp - 0x34]
mov dword [ebp - 0x80], eax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x80]
push edx
lea ecx, [ebp - 0x50]
call fcn.1006ce20
xor eax, eax
jne 0x100c2d47
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
push 1
mov edx, dword [ebp - 0x84]
push edx
call fcn.10138221
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x100c2d9e
mov byte [ebp - 0x51], 0
mov dword [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.100444a0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x51]
jmp 0x100c2e48
mov eax, dword [ebp - 0xa8]
movzx ecx, byte [eax + 0x49]
test ecx, ecx
jne 0x100c2dcf
mov byte [ebp - 0x52], 1
mov dword [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.100444a0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x52]
jmp 0x100c2e48
cmp dword [ebp - 0x38], 0
jne 0x100c2de1
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.1006c940
jmp 0x100c2e29
mov byte [ebp - 0x53], 1
mov dword [ebp - 4], 4
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.100444a0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x53]
jmp 0x100c2e48
mov byte [ebp - 0x54], 0
mov dword [ebp - 4], 5
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.100444a0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x54]
jmp 0x100c2e48
jmp 0x100c2c3b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10133eba
mov esp, ebp
pop ebp
ret