Function at 0x100549b9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007cfff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10054ac5
lea eax, [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x10054a0b
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x10054ac0
push 2
lea ecx, [ebp - 0x8c]
call fcn.10027ffe
and dword [ebp - 4], 0
mov dword [ebp - 0x18], 0xfffffffd
mov dword [ebp - 0x20], 0
jmp 0x10054a33
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x10054a4f
push dword [ebp - 0x20]
lea ecx, [ebp - 0x8c]
call fcn.1002809c
mov dword [eax], 1
jmp 0x10054a2c
mov dword [ebp - 0x18], 1
jmp 0x10054a5f
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x10054ab1
mov dword [ebp - 0x24], 0x1f200025
mov dword [ebp - 0x24], 1
jmp 0x10054a7c
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x10054aaf
push 1
push 0xc34
push 0x5f0e
push 0
call fcn.10051d34
add esp, 0x10
push dword [ebp - 0x18]
lea ecx, [ebp - 0x8c]
call fcn.1002809c
cmp dword [eax], 0
je 0x10054aad
jmp 0x10054a75
jmp 0x10054a75
jmp 0x10054a58
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.10028080
jmp 0x10054cae
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x10054c63
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x10054bdd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
push 1
mov ecx, dword [ebp - 0x14]
call fcn.1002809c
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [eax]
jne 0x10054b8b
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
push 2
mov ecx, dword [ebp - 0x14]
call fcn.1002809c
sub esi, dword [eax]
push 1
mov ecx, dword [ebp - 0x14]
call fcn.1002809c
cmp esi, dword [eax]
jg 0x10054b70
mov dword [ebp - 0x2c], 1
jmp 0x10054b74
and dword [ebp - 0x2c], 0
push 2
mov ecx, dword [ebp - 0x14]
call fcn.1002809c
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [eax]
jne 0x10054b8b
and dword [ebp - 0x30], 0
jmp 0x10054b92
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jle 0x10054ba6
push 2
mov ecx, dword [ebp - 0x14]
call fcn.1002809c
push 1
mov ecx, dword [ebp - 0x14]
call fcn.1002809c
cmp dword [eax], 0
jne 0x10054bc3
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x10054bc3
and dword [ebp - 0x34], 0
jmp 0x10054bca
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, dword [ebp - 0x34]
je 0x10054bdd
mov dword [ebp - 0x38], 1
jmp 0x10054be1
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x38]
jne 0x10054bfd
mov eax, 0x93876a47
test eax, eax
je 0x10054bfd
mov dword [ebp - 0x3c], 1
jmp 0x10054c01
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jne 0x10054c14
mov dword [ebp - 0x40], 1
jmp 0x10054c18
and dword [ebp - 0x40], 0
imul eax, dword [ebp - 0x40], 0xfc2e
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx]
jge 0x10054c3e
push 1
mov ecx, dword [ebp - 0x14]
call fcn.1002809c
cmp dword [eax], 0
je 0x10054c3e
mov dword [ebp - 0x44], 1
jmp 0x10054c42
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x44], eax
je 0x10054c55
mov dword [ebp - 0x48], 1
jmp 0x10054c59
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
jmp 0x10054cae
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
jmp 0x10054c91
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 1
jge 0x10054cae
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov ecx, dword [ebp - 0x80]
call fcn.1002809c
mov dword [eax], 0x1361131e
jmp 0x10054c86
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret