Function at 0x1001aa79
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007b014
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
push esi
push edi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001ae78
mov eax, dword [ebp + 8]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x130], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xd8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x12c]
movzx eax, byte [eax]
test eax, eax
je 0x1001ac61
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xa8], eax
mov eax, dword [0x10624954]
and eax, 1
jne 0x1001ab6b
mov eax, dword [0x10624954]
or eax, 1
mov dword [0x10624954], eax
and dword [ebp - 4], 0
mov ecx, 0x10624908
call fcn.1001bc2a
push 0x1007c2d4
call fcn.10062509
pop ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x138]
push eax
mov ecx, 0x10624908
call fcn.1001bc07
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x144]
push eax
mov ecx, 0x10624908
call fcn.1001bc15
mov ecx, eax
call fcn.1001bce1
movzx eax, al
test eax, eax
je 0x1001abdb
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xac]
push eax
mov ecx, 0x10624908
call fcn.1001bf2f
mov ecx, dword [ebp - 0xa8]
mov ax, word [eax]
mov word [ecx], ax
jmp 0x1001b197
mov eax, dword [ebp - 0x20]
push dword [eax]
lea eax, [ebp - 0x180]
push eax
call fcn.1001a342
pop ecx
pop ecx
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x134], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x134]
call fcn.1001b864
mov ax, word [eax]
mov word [ebp - 0x18], ax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x180]
call fcn.1001b805
push 1
lea eax, [ebp - 0x18]
push eax
push 0x6470
push 0x155c
push dword [ebp - 0x20]
push 1
push 0x10624908
call fcn.1001a99b
add esp, 0x1c
mov eax, dword [ebp - 0xa8]
mov cx, word [ebp - 0x18]
mov word [eax], cx
jmp 0x1001b197
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x1001ad3f
mov dword [ebp - 0x58], 1
jmp 0x1001ad43
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x70]
cmp dword [eax], 0xf9e6b99b
jae 0x1001ad6c
mov dword [ebp - 0x40], 1
jmp 0x1001ad70
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
jne 0x1001ad83
mov eax, dword [ebp - 0x9c]
cmp dword [eax], 0
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0xfd55be98
jae 0x1001adad
mov dword [ebp - 0x78], 1
jmp 0x1001adb1
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
cmp dword [ebp - 0x78], eax
jg 0x1001adc8
xor eax, eax
je 0x1001adc8
mov dword [ebp - 0x2c], 1
jmp 0x1001adcc
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jne 0x1001aded
mov dword [ebp - 0x94], 1
jmp 0x1001adf4
and dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 0x5e60
jle 0x1001ae09
mov dword [ebp - 0x34], 1
jmp 0x1001ae0d
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x34]
jne 0x1001ae21
mov dword [ebp - 0xc4], 1
jmp 0x1001ae28
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x60]
cmp dword [eax], 5
jb 0x1001ae4a
mov dword [ebp - 0xa4], 1
jmp 0x1001ae51
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp dword [ebp - 0xa4], eax
je 0x1001ae67
mov dword [ebp - 0x68], 1
jmp 0x1001ae6b
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x68]
mov dword [eax], ecx
jmp 0x1001b197
lea eax, [ebp + 0x24]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xe4], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
movzx eax, byte [eax]
test eax, eax
je 0x1001aead
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x1001b197
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x14], 0x7e2799ac
mov dword [ebp - 0x8c], 0x4ad744d0
mov dword [ebp - 0xf4], 0x7758a8c
mov dword [ebp - 0x24], 0
jmp 0x1001aef0
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x1001af06
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x84], 0x2fd4
jmp 0x1001aee9
mov dword [ebp - 0x14], 0
jmp 0x1001af16
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffe6
je 0x1001b15a
mov dword [ebp - 0x10], 0x55b7cefa
mov dword [ebp - 0x10], 1
jmp 0x1001af37
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1001af9c
mov dword [ebp - 0x13c], 0x73bf38c0
mov dword [ebp - 0x1c], 0x57688195
mov dword [ebp - 0xec], 0xfff9
push 0x3719
push 0
lea eax, [ebp - 0xec]
push eax
push 0x6788
call fcn.1001a668
add esp, 0x10
mov dword [ebp - 0x1c], 1
jmp 0x1001af83
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x1001af9a
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0x84], 0
je 0x1001af98
jmp 0x1001af9a
jmp 0x1001af7c
jmp 0x1001af30
mov dword [ebp - 0x8c], 0x41b44adc
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x10], eax
jg 0x1001afba
mov dword [ebp - 0x74], 1
jmp 0x1001afbe
and dword [ebp - 0x74], 0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x84], 0
jne 0x1001b062
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x10], eax
jle 0x1001afe3
mov dword [ebp - 0x38], 1
jmp 0x1001afe7
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0x2fc5c3c3
jle 0x1001aff9
mov dword [ebp - 0x3c], 1
jmp 0x1001affd
and dword [ebp - 0x3c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x84]
sub eax, dword [ebp - 0x3c]
je 0x1001b01e
cmp dword [ebp - 0x14], 0
je 0x1001b01e
mov dword [ebp - 0x44], 1
jmp 0x1001b022
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x44]
test eax, eax
jne 0x1001b03c
mov eax, 0x989
test eax, eax
jne 0x1001b03c
and dword [ebp - 0x4c], 0
jmp 0x1001b043
mov dword [ebp - 0x4c], 1
cmp dword [ebp - 0x4c], 1
je 0x1001b052
mov dword [ebp - 0x54], 1
jmp 0x1001b056
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0
jne 0x1001b062
and dword [ebp - 0x5c], 0
jmp 0x1001b069
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 0x5c]
sub eax, 0x5fdee166
jne 0x1001b080
push 3
pop eax
test eax, eax
jne 0x1001b080
and dword [ebp - 0x64], 0
jmp 0x1001b087
mov dword [ebp - 0x64], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x64], eax
jle 0x1001b098
mov dword [ebp - 0x6c], 1
jmp 0x1001b09c
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0xffff
jb 0x1001b0ae
mov dword [ebp - 0x7c], 1
jmp 0x1001b0b2
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x74]
imul eax, dword [ebp - 0x7c]
dec eax
dec eax
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x84]
jl 0x1001b0d6
mov dword [ebp - 0x88], 1
jmp 0x1001b0dd
and dword [ebp - 0x88], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x84]
cmp dword [ebp - 0x88], eax
jne 0x1001b0fe
mov dword [ebp - 0x90], 1
jmp 0x1001b105
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 0x8aee5119
jb 0x1001b11d
mov dword [ebp - 0x98], 1
jmp 0x1001b124
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 0xfff8
jb 0x1001b142
cmp dword [ebp - 0x10], 0
je 0x1001b142
mov dword [ebp - 0xa0], 1
jmp 0x1001b149
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xf4], eax
jmp 0x1001af0f
lea eax, [ebp - 0x168]
push eax
call fcn.1000e52f
pop ecx
mov esi, eax
lea edi, [ebp - 0x15c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax]
call fcn.10010f51
shl eax, 1
mov ecx, dword [ebp - 0x154]
mov eax, dword [ecx + eax*4]
sub eax, 0x12c
mov ecx, dword [ebp - 0x104]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret