Function at 0x1165df7
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1cc
mov eax, dword [0x119a010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x18c]
push 0x180
mov esi, ecx
mov dword [ebp - 0x190], ebx
push ebx
push eax
mov dword [ebp - 0x1b8], esi
call fcn.01198ab0
xor eax, eax
mov dword [ebp - 0x1c8], ebx
lea edi, [ebp - 0x1c4]
mov dword [esi + 0xa0], ebx
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x190]
push eax
push fcn.01165c7d
push ebx
push ebx
call dword [0x119c4f0]
test eax, eax
jne 0x1165e99
mov eax, dword [0x119a020]
cmp eax, 0x119a020
je 0x1165e99
test byte [eax + 0x1c], 1
je 0x1165e99
cmp byte [eax + 0x19], 2
jb 0x1165e99
call fcn.01141040
push eax
mov eax, dword [0x119a020]
mov edx, 0x1136af4
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x11
pop ecx
call fcn.011410b1
mov eax, dword [ebp - 0x190]
test eax, eax
je 0x1165efa
mov ecx, dword [esi]
dec eax
imul eax, eax, 0xc
mov edx, dword [ecx + 0x72e4]
cmp dword [ebp + eax - 0x18c], edx
jb 0x1165ec7
mov eax, dword [ebp + eax - 0x188]
cmp eax, dword [ecx + 0x72e8]
jae 0x1165efa
mov eax, dword [ecx + 0x72e8]
mov dword [ebp - 0x1bc], eax
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x1c8]
mov dword [ebp - 0x1c4], ebx
push eax
push ebx
push ebx
mov dword [ebp - 0x1c8], ebx
mov dword [ebp - 0x1c0], edx
call fcn.01165c7d
lea edi, [ebp - 0x184]
mov dword [ebp - 0x1b4], ebx
mov dword [ebp - 0x194], edi
lea ecx, [ebp - 0x18c]
lea edi, [esi + 0x98]
mov dword [ebp - 0x1b0], ecx
mov dword [ebp - 0x1a8], edi
mov edx, ebx
lea edi, [esi + 0x9c]
mov dword [ebp - 0x1ac], edx
add esi, 0xa4
mov dword [ebp - 0x19c], edi
mov edi, dword [ebp - 0x194]
mov eax, 0x1136974
mov dword [ebp - 0x1a0], esi
xor esi, esi
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x1a4], esi
cmp edx, 0x20
jae 0x11662cd
cmp edx, dword [ebp - 0x190]
jae 0x11661a2
cmp dword [ebp - 0x1b4], 0x11
jae 0x1166101
mov esi, dword [ebp - 0x198]
mov eax, dword [ecx]
cmp eax, dword [esi]
ja 0x116603e
cmp dword [edi], 0
je 0x1165fb8
mov eax, dword [ebp - 0x198]
inc edx
add edi, 0xc
mov dword [ebp - 0x1ac], edx
add ecx, 0xc
mov dword [ebp - 0x194], edi
mov dword [ebp - 0x1b0], ecx
jmp 0x1166264
mov eax, dword [ebp - 0x1a0]
mov esi, ecx
mov edi, eax
inc ebx
add eax, 0xc
mov dword [ebp - 0x1a0], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x19c]
mov esi, dword [ebp - 0x1a8]
add edi, 0xc
add esi, 0xc
mov dword [ebp - 0x19c], edi
mov dword [ebp - 0x1a8], esi
mov eax, dword [0x119a020]
cmp eax, 0x119a020
je 0x1166033
test byte [eax + 0x1c], 1
je 0x1166033
cmp byte [eax + 0x19], 5
jb 0x1166033
push dword [edi]
push dword [esi]
call fcn.01141040
push eax
mov eax, dword [0x119a020]
mov edx, 0x1136af4
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x14
pop ecx
call fcn.011466e3
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x1ac]
mov edi, dword [ebp - 0x194]
jmp 0x1165f94
lea eax, [ebp - 0x190]
push eax
push esi
call fcn.01165db1
test eax, eax
mov eax, dword [ebp - 0x198]
je 0x11660d2
mov ecx, dword [ebp - 0x1a0]
mov esi, eax
mov edx, dword [ebp - 0x19c]
mov edi, ecx
add edx, 0xc
add ecx, 0xc
inc ebx
mov dword [ebp - 0x19c], edx
mov dword [ebp - 0x1a0], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x1a8]
add esi, 0xc
mov dword [ebp - 0x1a8], esi
mov ecx, dword [0x119a020]
cmp ecx, 0x119a020
je 0x11660cc
test byte [ecx + 0x1c], 1
je 0x11660cc
cmp byte [ecx + 0x19], 5
jb 0x11660cc
push dword [edx]
push dword [esi]
call fcn.01141040
push eax
mov eax, dword [0x119a020]
mov edx, 0x1136af4
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x15
pop ecx
call fcn.011466e3
mov eax, dword [ebp - 0x198]
mov edi, dword [ebp - 0x194]
mov esi, dword [ebp - 0x1a4]
inc dword [ebp - 0x1b4]
add esi, 0xc
mov ecx, dword [ebp - 0x1b0]
add eax, 0xc
mov edx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1a4], esi
mov dword [ebp - 0x198], eax
jmp 0x116626a
mov edi, dword [ebp - 0x1a0]
mov esi, ecx
add dword [ebp - 0x19c], 0xc
inc ebx
add dword [ebp - 0x1a0], 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x1a8]
add edi, 0xc
mov dword [ebp - 0x1a8], edi
mov esi, dword [0x119a020]
cmp esi, 0x119a020
je 0x116617e
test byte [esi + 0x1c], 1
je 0x116617e
cmp byte [esi + 0x19], 5
jb 0x116617e
mov eax, dword [ebp - 0x19c]
push dword [eax]
push dword [edi]
call fcn.01141040
push eax
mov eax, dword [0x119a020]
mov edx, 0x1136af4
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x16
pop ecx
call fcn.011466e3
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x1ac]
mov eax, dword [ebp - 0x198]
mov edi, dword [ebp - 0x194]
inc edx
add edi, 0xc
mov dword [ebp - 0x1ac], edx
add ecx, 0xc
mov dword [ebp - 0x194], edi
mov dword [ebp - 0x1b0], ecx
jmp 0x1166264
cmp esi, 0xcc
jae 0x1166275
lea ecx, [ebp - 0x190]
push ecx
push eax
call fcn.01165db1
test eax, eax
mov eax, dword [ebp - 0x198]
je 0x1166242
mov ecx, dword [ebp - 0x1a0]
mov esi, eax
mov edx, dword [ebp - 0x19c]
mov edi, ecx
add edx, 0xc
add ecx, 0xc
inc ebx
mov dword [ebp - 0x19c], edx
mov dword [ebp - 0x1a0], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x1a8]
add esi, 0xc
mov dword [ebp - 0x1a8], esi
mov ecx, dword [0x119a020]
cmp ecx, 0x119a020
je 0x116623c
test byte [ecx + 0x1c], 1
je 0x116623c
cmp byte [ecx + 0x19], 5
jb 0x116623c
push dword [edx]
push dword [esi]
call fcn.01141040
push eax
mov eax, dword [0x119a020]
mov edx, 0x1136af4
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x17
pop ecx
call fcn.011466e3
mov eax, dword [ebp - 0x198]
mov edi, dword [ebp - 0x194]
inc dword [ebp - 0x1b4]
add dword [ebp - 0x1a4], 0xc
add eax, 0xc
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x1ac]
mov dword [ebp - 0x198], eax
mov esi, dword [ebp - 0x1a4]
cmp ebx, 0x40
jb 0x1165f5d
jmp 0x11662cd
mov eax, dword [ebp - 0x190]
mov esi, dword [ebp - 0x1b8]
imul ecx, ebx, 0xc
test eax, eax
je 0x11662a8
imul edx, eax, 0xc
mov eax, dword [ebp + edx - 0x198]
mov dword [ecx + esi + 0xa4], eax
lea eax, [ebx + 0xe]
imul ecx, eax, 0xc
mov eax, dword [ebp + edx - 0x194]
jmp 0x11662c1
mov eax, dword [ebp - 0xcc]
mov dword [ecx + esi + 0xa4], eax
lea eax, [ebx + 0xe]
imul ecx, eax, 0xc
mov eax, dword [ebp - 0xc8]
mov dword [ecx + esi], eax
lea eax, [ebx + 1]
mov dword [esi + 0xa0], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01198719
mov esp, ebp
pop ebp
ret