Function at 0x10005c06
Capabilities:
Create thread

Disassembly:
jae 0x10005b0e
jmp 0x10005b09
call fcn.10005b10
jae 0x10005b09
add esp, 4
jmp 0x10005b15
dec dword [esp]
jno 0x10005b1a
jns 0x10005b05
jp 0x10005b1e
add esp, 4
popf
jmp 0x10005b25
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x10005b3e
jne 0x10005b3e
arpl word [ebx + eax - 0x15], di
add esp, dword [ebx + 0x74]
sti
jl 0x10005b43
jmp 0x10005b45
je 0x10005b40
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x10005b5f
jne 0x10005b5e
call 0x93044be6
rol byte [ebx + eax*4], 0xf0
add eax, 0x1750374
xor eax, 3
add eax, 4
xor eax, 5
je 0x10005b6d
jne 0x10005b6d
call 0xfe8ba59
invalid
call 0x100043d0
call 0x100058c0
call fcn.10005880
xor eax, eax
test eax, eax
je 0x10005b85
jne 0x10005b84
call 0x93044c0c
rol byte [ebx + eax*4], 0xf0
add eax, 0x3eb037c
push ss
xor eax, 3
add eax, 4
xor eax, 5
jl 0x10005b93
jmp 0x10005b95
je 0x10005b90
clc
jae 0x10005b9a
fist word [esi]
je 0x10005b9f
jne 0x10005b9f
push ss
pushf
push 0xa
jae 0x10005bac
jmp 0x10005ba7
call 0x10005bae
jae 0x10005ba7
add esp, 4
jmp 0x10005bb3
dec dword [esp]
jno 0x10005bb8
jns 0x10005ba3
jp 0x10005bbc
add esp, 4
popf
jmp 0x10005bc3
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x10005bdc
jne 0x10005bdc
call 0x1fc08f30
wait
rcl byte [edx + 0x33], 0xd0
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
call fcn.10005f70
clc
jae 0x10005bf7
mov esp, ebx
pushf
push 0xa
jae 0x10005c04
jmp 0x10005bff
call 0x10005c06
jae 0x10005bff
add esp, 4
jmp 0x10005c0b
dec dword [esp]
jno 0x10005c10
jns 0x10005bfb
jp 0x10005c14
add esp, 4
popf
jmp 0x10005c1b
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x10005c34
jne 0x10005c34
fdivr qword [ebx + eax - 0x15]
add ebx, esp
jl 0x10005c39
jmp 0x10005c3b
je 0x10005c36
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x10005c55
jne 0x10005c54
call 0x93044cdc
rol byte [ebx + eax*4], 0xf0
add eax, 0x1750374
xor eax, 3
add eax, 4
xor eax, 5
je 0x10005c63
jne 0x10005c63
call 0x106a5cd1
push 0
push 0
push 0
push 0x10004390
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10005c86
call fcn.1001d700
xor eax, eax
test eax, eax
je 0x10005c8f
jne 0x10005c8e
call 0x93044d16
rol byte [ebx + eax*4], 0xf0
add eax, 0x3eb037c
pop eax
xor eax, 3
add eax, 4
xor eax, 5
jl 0x10005c9d
jmp 0x10005c9f
je 0x10005c9a
clc
jae 0x10005ca4
sub dword [eax + 0x74], ebx
add esi, dword [ebp + 1]
je 0x10005ca9
jne 0x10005ca9
pop eax
pushf
push 0xa
jae 0x10005cb6
jmp 0x10005cb1
call 0x10005cb8
jae 0x10005cb1
add esp, 4
jmp 0x10005cbd
dec dword [esp]
jno 0x10005cc2
jns 0x10005cad
jp 0x10005cc6
add esp, 4
popf
jmp 0x10005ccd
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x10005ce6
jne 0x10005ce6
call 0x1fc0903a
wait
rcl byte [edx + 0x33], 0xd0
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret