Function at 0x10035213
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072c18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xac
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100352b3
lea eax, [ebp + 0x10]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xa4]
movzx eax, byte [eax]
test eax, eax
je 0x10035272
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10035270
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x100352ae
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x100352ae
push 0
push 0x5740
push 1
push 0x368f
push 0x1b37
push 0x5c3
call fcn.1002fdc8
add esp, 0x18
jmp 0x1003559b
mov dword [ebp - 0x44], 0x2a61
mov dword [ebp - 0x8c], 0x10008a68
cmp dword [ebp - 0x44], 0x2da8
jle 0x10035365
and dword [ebp - 0x1c], 0
jmp 0x100352de
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x61b4
jge 0x10035365
and dword [ebp - 0x2c], 0
jmp 0x100352f4
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x3f35
jge 0x10035360
and dword [ebp - 0x20], 0
jmp 0x1003530a
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1db3
jge 0x1003535e
and dword [ebp - 0x28], 0
jmp 0x10035320
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x7b65
jge 0x1003535c
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
sar eax, cl
cdq
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], edx
push dword [ebp - 0xb8]
push dword [ebp - 0xbc]
mov ecx, 0x1061ae38
call fcn.1002b61d
jmp 0x10035319
jmp 0x10035303
jmp 0x100352ed
jmp 0x100352d7
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x4c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x44], 0x29b8
jge 0x10035388
mov edx, dword [ebp - 0x8c]
mov ecx, 0x1061ae38
call fcn.1002cd18
jmp 0x100353a4
or dword [ebp - 4], 0xffffffff
jmp 0x100353ae
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x1003547e
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
mov dword [eax], 3
jmp 0x10035429
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
jl 0x10035479
push 0x739f
push 0x4375
push 0
push 0x50d5
push 1
push 0x5204
push 0x1d1b
push 0x36b4
push 0xe7b
push 0x2647
push 1
push 0x7a74
call fcn.100303f4
add esp, 0x30
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
jmp 0x1003541e
jmp 0x1003559b
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x30]
mov esi, dword [eax]
mov eax, dword [ebp - 0x90]
mov edi, dword [eax]
push 0
mov ecx, dword [ebp - 0x98]
call fcn.1000fd18
imul edi, dword [eax]
cmp edi, esi
jl 0x1003550b
mov dword [ebp - 0x34], 1
jmp 0x1003550f
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0xffff
cmp eax, dword [ebp - 0x34]
jle 0x10035527
mov dword [ebp - 0x38], 1
jmp 0x1003552b
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0xea6ae202
jbe 0x10035545
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
je 0x10035545
mov dword [ebp - 0x40], 1
jmp 0x10035549
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x40]
jne 0x10035564
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x10035564
mov dword [ebp - 0x48], 1
jmp 0x10035568
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xa0]
mov ecx, dword [ecx]
imul ecx, dword [ebp - 0x48]
cmp ecx, dword [eax]
jl 0x10035587
mov dword [ebp - 0xa8], 1
jmp 0x1003558e
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret