Function at 0x110a2030
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11184eb0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x111ec774]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
push esi
push 0x40000
lea ecx, [ebp - 0x6c]
call fcn.110aff30
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0xd]
push eax
mov eax, dword [edx + 0x14]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov byte [ebp - 0xd], 2
call eax
mov ecx, dword [ebx + 0xf8]
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], ecx
push edx
mov edx, dword [eax + 0x10]
lea ecx, [ebp - 0x6c]
call edx
lea ecx, [ebp - 0x50]
call fcn.110d1930
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.110d1930
lea edi, [ebp - 0x50]
lea ecx, [ebx + 0x4c]
mov byte [ebp - 4], 2
call fcn.1109f4d0
lea edi, [ebp - 0x40]
lea ecx, [ebx + 0x4c]
call fcn.1109f510
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x50]
push eax
mov eax, dword [edx + 0x20]
lea ecx, [ebp - 0x6c]
call eax
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x20]
mov ecx, edi
push ecx
lea ecx, [ebp - 0x6c]
call eax
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x20]
lea ecx, [ebx + 0x3c]
push ecx
lea ecx, [ebp - 0x6c]
call eax
mov edi, dword [ebp + 8]
push edi
lea ecx, [ebp - 0x30]
call fcn.110d0960
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call eax
test al, al
jne 0x110a2130
push 0x250
push 0x11195b24
push 0x11195b1c
call fcn.11029a70
add esp, 0xc
mov ecx, dword [ebp - 0x24]
push 0x5c
push ecx
call fcn.11081e00
add esp, 8
test eax, eax
je 0x110a214c
inc eax
push eax
lea ecx, [ebp - 0x30]
call fcn.110d07a0
mov eax, dword [ebx + 0xf4]
mov esi, dword [eax]
cmp esi, eax
je 0x110a21ac
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov edi, dword [esi + 8]
lea ecx, [ebp - 0x30]
call eax
test al, al
jne 0x110a2180
push 0x250
push 0x11195b24
push 0x11195b1c
call fcn.11029a70
add esp, 0xc
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x24]
mov edx, dword [edi]
mov edx, dword [edx + 0x20]
push ecx
push 0
push 6
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, edi
call edx
mov esi, dword [esi]
inc dword [ebp - 0x1c]
cmp esi, dword [ebx + 0xf4]
jne 0x110a2158
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [edx + 0x10]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x20], 0
call eax
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0xa4]
lea ecx, [ebp - 0x6c]
call eax
test al, al
jne 0x110a21eb
push 0x13a
push 0x11199044
push 0x11195b1c
call fcn.11029a70
add esp, 0xc
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0xa4]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x6c]
call eax
test al, al
jne 0x110a221a
push 0x135
push 0x11199044
push 0x11195b1c
call fcn.11029a70
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x58]
shr ecx, 2
test ecx, ecx
je 0x110a223b
mov edx, ecx
mov ecx, dword [ebp - 0x18]
lea esp, [esp]
add ecx, dword [eax]
add eax, 4
dec edx
mov dword [ebp - 0x18], ecx
jne 0x110a2230
push 0x1119ae98
push edi
mov byte [ebp + 0xb], 1
call fcn.11164ead
mov esi, eax
add esp, 8
test esi, esi
je 0x110a22d8
push esi
push 1
lea ecx, [ebp - 0x14]
push 4
push ecx
call fcn.1116579a
add esp, 0x10
cmp eax, 1
jne 0x110a22c3
push esi
push eax
lea edx, [ebp - 0x18]
push 4
push edx
call fcn.1116579a
add esp, 0x10
cmp eax, 1
jne 0x110a22c3
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax + 0xa4]
lea ecx, [ebp - 0x6c]
call edx
test al, al
jne 0x110a22ab
push 0x135
push 0x11199044
push 0x11195b1c
call fcn.11029a70
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x58]
push esi
push 1
push eax
push ecx
call fcn.1116579a
add esp, 0x10
cmp eax, 1
je 0x110a22c7
mov byte [ebp + 0xb], 0
push esi
call fcn.11164c77
add esp, 4
test eax, eax
je 0x110a22d8
mov byte [ebp + 0xb], 0
mov ecx, dword [ebx + 0x20]
call fcn.1109f7b0
test eax, eax
je 0x110a22f6
mov edx, dword [ebp - 0x1c]
push edx
push edi
push 0x111a71dc
call fcn.11147060
add esp, 0xc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.110d0a10
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.110d0a10
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.110d0a10
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
call fcn.110b0660
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4