Function at 0x10032332
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100324d3
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x10032491
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x100323ad
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0x1c
jg 0x1003248f
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
jne 0x100323e9
mov dword [ebp - 0x18], 1
jmp 0x100323ed
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jge 0x100323fe
mov dword [ebp - 0x2c], 1
jmp 0x10032402
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x24]
jle 0x1003241c
mov dword [ebp - 0x34], 1
jmp 0x10032420
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
je 0x10032433
mov dword [ebp - 0x20], 1
jmp 0x10032437
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
imul eax, dword [ebp - 0x20]
test eax, eax
jne 0x10032450
cmp dword [ebp - 0x5c], 0
jne 0x10032450
and dword [ebp - 0x28], 0
jmp 0x10032457
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x28], eax
jne 0x10032468
mov dword [ebp - 0x30], 1
jmp 0x1003246c
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0x3d0b
jge 0x1003247e
mov dword [ebp - 0x38], 1
jmp 0x10032482
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
jmp 0x100323a2
jmp 0x100324d1
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x100324b3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0xfffffffe
je 0x100324d1
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100324cf
push 0
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
jmp 0x100324a8
jmp 0x10032550
lea eax, [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x10032505
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x10032503
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x10032550
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x10032533
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 1
jge 0x10032550
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x78]
call fcn.10011fc8
mov dword [eax], 0x7e2799ac
jmp 0x10032528
mov esp, ebp
pop ebp
ret