Function at 0x5691f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov esi, ecx
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x5cd8a0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
push 1
call fcn.005ce6ca
add esp, 4
mov ecx, dword [0x60d610]
mov edx, dword [0x60d614]
lea edi, [ecx + 1]
imul edi, ecx
mov ecx, edi
xor ecx, 0xfffffffe
test ecx, edi
sete byte [ebp - 0x1d]
cmp edx, 0xa
setl byte [ebp - 0x1e]
mov ebx, 0x34b2207d
mov edi, 0xb473c143
nop word [eax + eax]
cmp ebx, 0xf2054633
jg 0x5692d0
cmp ebx, 0x8ea6eeec
je 0x569311
cmp ebx, 0xb473c143
jne 0x569260
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov edx, dword [0x60d610]
mov ecx, dword [0x60d614]
lea ebx, [edx + 1]
imul ebx, edx
not ebx
or ebx, 0xfffffffe
cmp ebx, 0xffffffff
sete dl
cmp ecx, 0xa
setl dh
xor dh, dl
mov edx, 0xf2054634
mov edi, 0x8ea6eeec
cmovne edx, edi
cmp ebx, 0xffffffff
mov ebx, edx
cmove ebx, edi
mov edi, 0xb473c143
cmp ecx, 0xa
cmovge ebx, edx
jmp 0x569260
cmp ebx, 0xf2054634
je 0x569304
cmp ebx, 0x34b2207d
jne 0x569260
movzx ecx, byte [ebp - 0x1d]
mov ch, byte [ebp - 0x1e]
mov ebx, ecx
xor bl, ch
mov edx, 0xf2054634
cmovne edx, edi
test ch, ch
mov ebx, edx
cmovne ebx, edi
test cl, cl
cmove ebx, edx
jmp 0x569260
mov dword [ebp - 0x24], eax
mov ebx, 0xb473c143
jmp 0x569260
mov eax, dword [ebp - 0x30]
lea edi, [esi + 4]
push edi
push 0
push dword [ebp - 0x24]
push 0x5695a0
push 0
push 0
call fcn.005d54f6
add esp, 0x18
mov dword [esi], eax
mov ecx, dword [0x60d618]
lea edx, [ecx + 1]
imul ecx, edx
mov edx, ecx
xor edx, 0xfffffffe
test edx, ecx
setne cl
cmp dword [0x60d61c], 0xa
setge ch
mov dl, ch
xor dl, cl
or ch, cl
xor ch, 1
or ch, dl
test eax, eax
je 0x56938b
mov eax, dword [0x60d620]
mov edx, dword [0x60d624]
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], edx
test ch, ch
mov byte [ebp - 0x25], ch
mov dword [ebp - 0x38], eax
jne 0x5693bc
lea edi, [eax + 1]
imul edi, eax
and edi, 1
jmp 0x56949b
mov dword [edi], 0
test ch, ch
jne 0x5693a2
nop word cs:[eax + eax]
jmp 0x5693a0
mov dword [ebp - 0x10], 0
push 6
call fcn.005cf27a
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x38]
lea edi, [eax + 1]
imul edi, eax
mov eax, edi
and eax, 1
sete al
mov edx, dword [ebp - 0x34]
cmp edx, 0xa
setl cl
xor cl, al
mov eax, 0xf8b2a145
mov ecx, 0xe206c856
cmovne ecx, eax
and edi, 1
sete byte [ebp - 0x1d]
cmovne eax, ecx
cmp edx, 0xa
setl byte [ebp - 0x1e]
cmovge eax, ecx
mov ebx, 0x61f3a52f
nop dword [eax + eax]
cmp ebx, 0xf8b2a144
jg 0x569430
cmp ebx, 0xcfdd3636
je 0x569475
cmp ebx, 0xe206c856
jne 0x569400
mov dword [ebp - 0x24], 0
mov ebx, 0xcfdd3636
mov dword [ebp - 0x2c], 0
jmp 0x569400
cmp ebx, 0xf8b2a145
je 0x56948b
cmp ebx, 0x61f3a52f
jne 0x569400
mov dword [ebp - 0x3c], edi
mov edi, ecx
movzx ecx, byte [ebp - 0x1d]
mov dh, byte [ebp - 0x1e]
mov dl, cl
xor dl, dh
test dh, dh
mov ebx, 0xe206c856
mov esi, 0xcfdd3636
cmovne ebx, esi
test cl, cl
mov ecx, 0xe206c856
cmove ebx, ecx
mov ecx, edi
mov edi, dword [ebp - 0x3c]
test dl, dl
cmovne ebx, esi
jmp 0x569400
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x2c]
xor esi, esi
mov ebx, eax
mov dword [ebp - 0x2c], esi
jmp 0x569400
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp byte [ebp - 0x25], 0
jne 0x56955e
test edi, edi
sete al
mov edx, dword [ebp - 0x34]
cmp edx, 0xa
setl cl
xor cl, al
mov ecx, 0xf8b2a145
mov eax, 0xe206c856
cmovne eax, ecx
test edi, edi
sete byte [ebp - 0x1d]
cmovne ecx, eax
cmp edx, 0xa
setl byte [ebp - 0x1e]
cmovge ecx, eax
mov ebx, 0x61f3a52f
mov edi, 0xcfdd3636
jmp 0x5694f0
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x2c]
xor esi, esi
mov ebx, ecx
mov dword [ebp - 0x2c], esi
nop dword [eax + eax]
cmp ebx, 0xf8b2a144
jg 0x569520
cmp ebx, 0xcfdd3636
je 0x5694d7
cmp ebx, 0xe206c856
jne 0x5694f0
mov dword [ebp - 0x24], 0
mov ebx, 0xcfdd3636
mov dword [ebp - 0x2c], 0
jmp 0x5694f0
cmp ebx, 0xf8b2a145
je 0x5693b3
cmp ebx, 0x61f3a52f
jne 0x5694f0
mov esi, eax
movzx eax, byte [ebp - 0x1d]
mov dh, byte [ebp - 0x1e]
mov dl, al
xor dl, dh
test dh, dh
mov ebx, 0xe206c856
cmovne ebx, edi
test al, al
mov eax, 0xe206c856
cmove ebx, eax
mov eax, esi
test dl, dl
cmovne ebx, edi
jmp 0x5694f0
lea ecx, [ebp - 0x24]
call fcn.00569870
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret