Function at 0x111d6b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1146221
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x115f604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
xor esi, esi
push esi
push 0x1064b24
lea edx, [ebp - 0x134]
push edx
push 0x1064aa8
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x11c]
push 2
push eax
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x134], esi
call fcn.01075110
add esp, 0x18
push ebx
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], esi
call fcn.0107f6b0
mov esi, eax
mov eax, dword [esi]
push 0x2e
push eax
call fcn.01084ad7
add esp, 8
test eax, eax
jne 0x111d748
or esi, 0xffffffff
jmp 0x111d74e
sub eax, dword [esi]
sar eax, 1
mov esi, eax
mov eax, dword [ebp - 0x128]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x111d770
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jle 0x111d79c
lea ebx, [ebx + esi*2]
xor esi, esi
lea esp, [esp]
mov ecx, dword [esi + 0x1161530]
push ecx
push ebx
call fcn.01128fcd
add esp, 8
test eax, eax
je 0x111d7fc
add esi, 4
cmp esi, 0x10
jb 0x111d780
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x130]
push 0
lea ecx, [ebp - 0x12c]
push ecx
push edx
push edi
push eax
mov dword [ebp - 0x12c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, dword [ebp - 0x134]
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], 0xffffffff
call fcn.01075230
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.010840d6
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [0x1161d94]
mov eax, dword [edx + 0xc]
mov ecx, 0x1161d94
xor esi, esi
call eax
add eax, 0x10
mov dword [ebp - 0x120], eax
mov edx, dword [0x1161d94]
mov eax, dword [edx + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 1
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x128], ebx
mov ecx, dword [ebp - 0x124]
lea eax, [ecx + edi]
cmp edi, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x12c], eax
jae 0x111d9c7
nop
cmp esi, 6
ja case.0x111d859.3
jmp dword [esi*4 + 0x111da20]
cmp byte [edi], 0x7b
jne 0x111d86f
mov esi, 1
jmp case.0x111d859.3
mov eax, dword [ebp - 0x130]
push 0
lea edx, [ebp - 0x124]
push edx
push 1
push edi
push eax
mov dword [ebp - 0x124], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp case.0x111d859.3
cmp byte [edi], 0x7b
je 0x111d8c4
mov eax, dword [ebp - 0x130]
xor esi, esi
push esi
lea ecx, [ebp - 0x124]
push ecx
push 2
lea edx, [edi - 1]
push edx
push eax
mov dword [ebp - 0x124], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp case.0x111d859.3
mov edx, dword [ebp - 0x120]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x111d8ec
push 0
lea ecx, [ebp - 0x120]
call fcn.01080db0
mov edx, dword [ebp - 0x120]
cmp dword [edx - 8], 0
jl 0x111da16
mov dword [edx - 0xc], 0
mov ecx, dword [ebp - 0x120]
mov byte [ecx], 0
mov esi, 2
jmp case.0x111d859.3
mov al, byte [edi]
cmp al, 0x7d
jne 0x111d943
lea ecx, [ebp - 0x120]
call fcn.0111cf10
mov ecx, eax
call fcn.0111cf60
mov edx, dword [ebp - 0x120]
push 0x1064aa0
push edx
call fcn.0112abdb
add esp, 8
mov esi, 6
jmp case.0x111d859.3
cmp al, 0x28
jne 0x111d984
mov ecx, dword [ebx - 8]
mov eax, 1
sub eax, dword [ebx - 4]
mov esi, 3
or ecx, eax
jge 0x111d96e
push 0
lea ecx, [ebp - 0x128]
call fcn.01080db0
mov ebx, dword [ebp - 0x128]
cmp dword [ebx - 8], 0
jl 0x111da16
mov dword [ebx - 0xc], 0
mov byte [ebx], 0
jmp case.0x111d859.3
mov byte [ebp - 0x138], al
mov eax, dword [ebp - 0x138]
push eax
lea ecx, [ebp - 0x120]
call fcn.0111d000
jmp case.0x111d859.3
cmp byte [edi], 0x7d
jne case.0x111d859.3
mov esi, 6
jmp case.0x111d859.3
mov cl, byte [edi]
sub cl, 0x7d
neg cl
sbb ecx, ecx
and ecx, 5
mov esi, ecx
add edi, 1
cmp edi, dword [ebp - 0x12c]
jb 0x111d850
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x111d9e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x120]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x111d7c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x111d7c4
push 0x80070057
call fcn.01071710
pushal
fcom dword [ecx]
add dword [edi + 0x100111d8], edx
fst dword [ecx]
add dword [eax - 0x47feee27], edi
fst dword [ecx]
add dword [esi - 0x55feee27], ebx
fst dword [ecx]
add esp, ecx
int3