Function at 0x15b4050
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 4
call fcn.015c2631
add esp, 4
mov dword [0x164d1ac], eax
mov eax, dword [0x164d1ac]
mov dword [eax], 0
push 4
call fcn.015c2631
add esp, 4
mov dword [0x1648b30], eax
mov ecx, dword [0x1648b30]
mov dword [ecx], 0
mov edx, dword [0x1645588]
push edx
push 0x16466c0
mov eax, dword [0x164d1ac]
push eax
push 0x1646068
push 0x1646010
mov ecx, dword [0x16464e0]
push ecx
call dword [0x1646088]
mov dword [0x164f80c], eax
cmp dword [0x164f80c], 0
je 0x15b41f9
mov edx, dword [0x1646010]
cmp edx, dword [0x1646068]
je 0x15b41f9
mov eax, dword [0x164a1ae]
and eax, 0x2000
test eax, eax
je 0x15b4199
mov ecx, dword [0x1646010]
cmp ecx, dword [0x1646068]
jge 0x15b4125
mov edx, dword [0x1645588]
push edx
push 0x164aca0
mov eax, dword [0x164d1ac]
push eax
mov ecx, dword [0x1646010]
add ecx, 1
push ecx
mov edx, dword [0x16464e0]
push edx
call dword [0x16464ec]
mov dword [0x164f80c], eax
jmp 0x15b4197
mov eax, dword [0x1645588]
push eax
push 0x164aca0
mov ecx, dword [0x164d1ac]
push ecx
push 2
mov edx, dword [0x16464e0]
push edx
call dword [0x16464ec]
mov dword [0x164f80c], eax
cmp dword [0x1646068], 1
jne 0x15b4197
mov eax, dword [0x1645588]
push eax
push 0x16466c0
mov ecx, dword [0x164d1ac]
push ecx
push 0x1646068
push 0x1646010
mov edx, dword [0x16464e0]
push edx
call dword [0x1646088]
mov dword [0x164f80c], eax
mov eax, dword [0x164d1ac]
mov ecx, dword [eax]
add ecx, 0x96
mov edx, dword [0x164d1ac]
mov dword [edx], ecx
jmp 0x15b41c6
mov eax, dword [0x1645588]
push eax
push 0x164aca0
mov ecx, dword [0x164d1ac]
push ecx
mov edx, dword [0x1646010]
add edx, 1
push edx
mov eax, dword [0x16464e0]
push eax
call dword [0x16464ec]
mov dword [0x164f80c], eax
mov ecx, dword [0x164d1ac]
mov edx, dword [ecx]
sub edx, 0x96
mov eax, dword [0x164d1ac]
mov dword [eax], edx
cmp dword [0x164f80c], 0
jne 0x15b41f9
cmp dword [0x15f1b54], 0
je 0x15b41f9
push 0x1628fa8
push 0x20
call fcn.01549920
mov ecx, dword [0x164ee38]
mov dword [0x164608c], ecx
call fcn.015af090
test eax, eax
je 0x15b423e
cmp dword [0x15f1b54], 0
je 0x15b423e
mov edx, dword [0x164d1ac]
mov eax, dword [edx]
push eax
push 0x1629000
push 0x1647800
call fcn.015c24f5
add esp, 0xc
push 0x1647800
push 0
call fcn.01549920
mov ecx, dword [0x164d1ac]
mov edx, dword [ecx]
sub edx, 0x96
cmp dword [0x164608c], edx
je 0x15b4266
call fcn.015b0d40
test eax, eax
jne 0x15b4266
call fcn.015af090
test eax, eax
je 0x15b42dd
mov eax, dword [0x164608c]
add eax, 0x96
mov ecx, dword [0x164d1ac]
mov dword [ecx], eax
mov edx, dword [0x16455d0]
or edx, 0x40000
mov dword [0x16455d0], edx
cmp dword [0x15f1b54], 0
je 0x15b42db
mov eax, dword [0x164d1ac]
mov ecx, dword [eax]
sub ecx, 0x96
push ecx
mov edx, dword [0x164d1ac]
mov eax, dword [edx]
sub eax, 0x96
push eax
mov ecx, dword [0x164608c]
push ecx
mov edx, dword [0x164608c]
push edx
push 0x162904c
push 0x1647800
call fcn.015c24f5
add esp, 0x18
push 0x1647800
push 0
call fcn.01549920
jmp 0x15b433d
mov eax, dword [0x16455d0]
and eax, 0xfffbffff
mov dword [0x16455d0], eax
cmp dword [0x15f1b54], 0
je 0x15b433d
mov ecx, dword [0x164d1ac]
mov edx, dword [ecx]
sub edx, 0x96
push edx
mov eax, dword [0x164d1ac]
mov ecx, dword [eax]
sub ecx, 0x96
push ecx
mov edx, dword [0x164608c]
push edx
mov eax, dword [0x164608c]
push eax
push 0x1629118
push 0x1647800
call fcn.015c24f5
add esp, 0x18
push 0x1647800
push 3
call fcn.01549920
mov ecx, dword [0x16455d0]
and ecx, 0x40000
test ecx, ecx
jne 0x15b4376
call dword [0x1648b34]
push 7
call fcn.01548790
cmp dword [0x15f1b54], 0
je 0x15b436f
push 0x16291f4
push 4
call fcn.01549920
push 7
call fcn.015c20de
cmp dword [0x164f80c], 0
je 0x15b443a
mov dword [0x1645ffc], 0
mov edx, dword [0x1645ffc]
cmp dword [edx*4 + 0x15d05c8], 0
jne 0x15b43b5
cmp dword [0x1645ffc], 8
jge 0x15b43b5
mov eax, dword [0x1645ffc]
add eax, 1
mov dword [0x1645ffc], eax
jmp 0x15b438d
cmp dword [0x1645ffc], 8
jne 0x15b43d2
mov ecx, dword [0x16455d0]
or ecx, 0x40000
mov dword [0x16455d0], ecx
jmp 0x15b443a
mov dword [0x1645ffc], 0
cmp dword [0x1645ffc], 8
jge 0x15b440e
mov edx, dword [0x164d1ac]
mov eax, dword [0x1645ffc]
mov ecx, dword [edx]
cmp ecx, dword [eax*4 + 0x15d05c8]
jne 0x15b43fd
jmp 0x15b440e
mov edx, dword [0x1645ffc]
add edx, 1
mov dword [0x1645ffc], edx
jmp 0x15b43dc
cmp dword [0x1645ffc], 8
jne 0x15b4428
mov eax, dword [0x16455d0]
and eax, 0xfffbffff
mov dword [0x16455d0], eax
jmp 0x15b443a
mov ecx, dword [0x16455d0]
or ecx, 0x40000
mov dword [0x16455d0], ecx
mov dword [0x1645ffc], 0
jmp 0x15b4455
mov edx, dword [0x1645ffc]
add edx, 1
mov dword [0x1645ffc], edx
cmp dword [0x1645ffc], 8
jge 0x15b447b
mov eax, dword [0x1648b30]
mov ecx, dword [eax]
mov edx, dword [0x1645ffc]
add ecx, dword [edx*4 + 0x15d05c8]
mov eax, dword [0x1648b30]
mov dword [eax], ecx
jmp 0x15b4446
mov ecx, dword [0x16455d0]
and ecx, 0x40000
test ecx, ecx
jne 0x15b44b4
call dword [0x1648b34]
push 7
call fcn.01548790
cmp dword [0x15f1b54], 0
je 0x15b44ad
push 0x16291fc
push 4
call fcn.01549920
push 7
call fcn.015c20de
pop ebp
ret