Function at 0x1001222d
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100817ba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
and dword [ebp - 0x40], 0
lea ecx, [ebp - 0xb8]
call fcn.10017a3d
and dword [ebp - 4], 0
mov dword [ebp - 0x34], 0xea5d6c05
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x68], 0xaac1e0f7
mov dword [ebp - 0x34], 0xfffffffc
jmp 0x1001228a
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffe5
jne 0x100123fa
mov dword [ebp - 0x3c], 0xeede0b40
push 1
lea ecx, [ebp - 0x78]
call fcn.10017b45
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], 0
jmp 0x100122b9
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x100122d2
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x78]
call fcn.10017bb2
mov dword [eax], 7
jmp 0x100122b2
mov dword [ebp - 0x3c], 0xffffffe2
jmp 0x100122e2
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xb
jg 0x100123e9
mov dword [ebp - 0x20], 0x3c891c55
mov dword [ebp - 0x6c], 0x4667120d
mov dword [ebp - 0x50], 0x66ef3b06
mov dword [ebp - 0x20], 0
jmp 0x10012311
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x12
jg 0x100123e4
mov dword [ebp - 0x24], 1
push 3
lea ecx, [ebp - 0x84]
call fcn.10017b45
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], 0
jmp 0x10012343
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x1001235f
push dword [ebp - 0x30]
lea ecx, [ebp - 0x84]
call fcn.10017bb2
mov dword [eax], 0x39ee491b
jmp 0x1001233c
mov dword [ebp - 0x24], 5
jmp 0x1001236f
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xfffffffe
jl 0x1001239f
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x10012389
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1001239d
push 0
call fcn.10013e95
pop ecx
jmp 0x10012368
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.1001469f
add esp, 0x28
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.10017bad
jmp 0x1001230a
jmp 0x100122db
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.10017bad
jmp 0x10012283
push dword [ebp + 0xc]
lea ecx, [ebp - 0xb8]
call fcn.10017b0e
mov dword [ebp - 0x18], 0xfffffffd
mov dword [ebp - 0x58], 0x563ffaf0
mov dword [ebp - 0x5c], 0x7cba
push 0x7abb
push 0x2ac8
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.10013b8b
add esp, 0x10
mov dword [ebp - 0x18], 0
jmp 0x10012445
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x25
jg 0x10012483
mov dword [ebp - 0x54], 0x1c71bc7d
mov dword [ebp - 0x60], 1
push 0x4744
push 0x622b
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.10014a80
add esp, 0x20
jmp 0x1001243e
and dword [ebp - 0x1c], 0
jmp 0x10012490
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 0xc]
jae 0x100124d6
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x1c]
xor edx, edx
div dword [0x100895b8]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
movzx eax, byte [eax + edx]
push eax
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
movzx eax, byte [ecx + eax]
push eax
call fcn.10009300
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0xb8]
call fcn.10017acf
jmp 0x10012489
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x88], 0x76c3a0b8
mov dword [ebp - 0xa0], 2
mov dword [ebp - 0x8c], 0x5aad8530
push 2
lea ecx, [ebp - 0x9c]
call fcn.10017b45
mov byte [ebp - 4], 3
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x10], 0
jmp 0x1001252d
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x10012540
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x48], 0xc204e2db
jmp 0x10012526
mov dword [ebp - 0x10], 0
jmp 0x10012550
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1001256c
push dword [ebp - 0x10]
lea ecx, [ebp - 0x9c]
call fcn.10017bb2
mov dword [eax], 1
jmp 0x10012549
mov dword [ebp - 0x38], 0
jmp 0x1001257c
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jg 0x100125af
mov dword [ebp - 0x28], 5
mov dword [ebp - 0x28], 0
jmp 0x10012599
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x100125ad
mov eax, dword [ebp - 0x28]
cmp dword [ebp + eax*4 - 0x48], 0
je 0x100125ab
jmp 0x100125ad
jmp 0x10012592
jmp 0x10012575
push 0
lea eax, [ebp - 0x4c]
push eax
push 0x34ca
call fcn.100157d2
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.10017bad
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp + 8]
call fcn.10017a4e
mov eax, dword [ebp - 0x40]
or eax, 1
mov dword [ebp - 0x40], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.10017aa7
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret