Function at 0x100c7d70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017d432
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x101e8118]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x20]
call fcn.10004780
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.10004780
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.10016470
test eax, eax
jne 0x100c7df5
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10004820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10004820
mov eax, dword [ebp - 0x24]
jmp 0x100c80a7
push 0x1019c364
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x2c]
call fcn.100057d0
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x50]
or ecx, 1
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x58]
call fcn.10005d90
cmp eax, 0xffffffff
jne 0x100c7ea0
push 0x1019c368
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x30]
call fcn.100057d0
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x50]
or ecx, 2
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x60]
call fcn.10005d90
cmp eax, 0xffffffff
jne 0x100c7ea0
push 0x1019c370
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x34]
call fcn.100057d0
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
or ecx, 4
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x68]
call fcn.10005d90
cmp eax, 0xffffffff
jne 0x100c7ea0
mov dword [ebp - 0x6c], 0
jmp 0x100c7ea7
mov dword [ebp - 0x6c], 1
mov dl, byte [ebp - 0x6c]
mov byte [ebp - 0x25], dl
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x50]
and eax, 4
je 0x100c7ec8
and dword [ebp - 0x50], 0xfffffffb
lea ecx, [ebp - 0x34]
call fcn.10006030
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x50]
and ecx, 2
je 0x100c7ee3
and dword [ebp - 0x50], 0xfffffffd
lea ecx, [ebp - 0x30]
call fcn.10006030
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x50]
and edx, 1
je 0x100c7efe
and dword [ebp - 0x50], 0xfffffffe
lea ecx, [ebp - 0x2c]
call fcn.10006030
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x100c7f30
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10004820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10004820
mov eax, dword [ebp - 0x38]
jmp 0x100c80a7
push 0x1019c374
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.100addf0
add esp, 8
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x74], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.10019630
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.10006030
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x40]
call fcn.10004780
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x7c]
call fcn.10016300
push eax
lea ecx, [ebp - 0x1c]
call fcn.10018de0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.10004820
push str.wt_ccsUTF_8
lea ecx, [ebp - 0x1c]
call fcn.10005a00
push eax
call fcn.1013a36c
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x100c7ff4
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.10006030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10004820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10004820
mov eax, dword [ebp - 0x44]
jmp 0x100c80a7
lea ecx, [ebp - 0x18]
call fcn.10005760
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x48]
call fcn.10004780
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x84], edx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x84]
call fcn.10016300
push eax
lea ecx, [ebp - 0x18]
call fcn.10018de0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x48]
call fcn.10004820
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.100059c0
push eax
push 2
push 0
lea ecx, [ebp - 0x18]
call fcn.10005f10
push eax
call fcn.1013a86b
add esp, 0x10
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1013a442
add esp, 4
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
call fcn.10006030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.10006030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10004820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10004820
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc