Function at 0x10055df0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x1015afd3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x14]
push edi
mov dword [esp + 0x18], edi
call fcn.10093730
add esp, 4
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x24], ebx
call fcn.10056480
test al, al
je 0x10055e47
push edi
mov dword [esp + 0x28], 0xffffffff
call fcn.10072d60
add esp, 4
xor eax, eax
jmp 0x10056195
mov edi, dword [esp + 0x2c]
push esi
mov ecx, edi
call fcn.10062e80
push 0x10
call fcn.1013c2df
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebx
mov byte [esp + 0x24], 1
je 0x10055e78
mov cl, byte [esp + 0x30]
mov dword [eax], esi
mov dword [eax + 4], edi
mov byte [eax + 8], cl
jmp 0x10055e7a
xor eax, eax
mov dl, byte [0x1018c6b9]
mov byte [esp + 0x24], 0
push edx
push 0xffffffffffffffe2
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebx
call fcn.10056a60
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push ebx
push ecx
push 0x10056710
push ebx
push ebx
call fcn.1013dfaf
mov ebp, eax
add esp, 0x20
cmp ebp, ebx
mov dword [esp + 0x30], ebp
jne 0x10055efe
mov edx, dword [esp + 0x10]
mov bl, byte [0x1018c6b8]
push edx
call fcn.101307a0
add esp, 4
mov ecx, edi
mov byte [0x1018c6b8], 0xf7
push 0
call fcn.10062e80
mov eax, dword [esp + 0x14]
mov byte [0x1018c6b9], bl
push eax
mov dword [esp + 0x28], 0xffffffff
call fcn.10072d60
add esp, 4
xor eax, eax
jmp 0x10056195
push 0xffffffffffffffac
push 0xffffffffffffff9d
call fcn.1011ce80
mov bl, byte [0x1018c6b9]
mov edx, dword [esp + 0x18]
mov cl, 0xd5
sub cl, bl
add al, cl
mov byte [0x1018c6b8], al
mov eax, dword [esp + 0x3c]
push eax
mov dword [edx + 0xc], ebp
push ebp
mov byte [0x1018c6b9], 0x2b
call fcn.10056ad0
mov eax, 0x23d
mov ecx, dword [0x1018c6a4]
cdq
idiv dword [0x1018c6a8]
add esp, 0x10
xor edi, edi
mov bl, byte [edx + ecx]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10055fe1
mov edx, dword [esi + 8]
sub edx, ecx
sar edx, 2
cmp edi, edx
jae 0x10055fe1
mov eax, dword [ecx + edi*4]
mov edx, dword [eax + 4]
test edx, edx
je 0x10055f6f
inc edi
jmp 0x10055f4e
mov ecx, dword [ecx + edi*4]
push ecx
call fcn.101307a0
add bl, 0x3e
push 0x73
push ebx
call fcn.10056ab0
mov ebp, dword [0x1018c6a8]
mov bl, al
mov eax, 0x3c5
mov ecx, dword [0x1018c6a4]
cdq
idiv ebp
add bl, 0x62
mov al, bl
mov bl, 0x17
sub bl, byte [edx + ecx]
imul bl
mov bl, al
mov eax, 0x204
cdq
idiv ebp
mov al, bl
imul byte [edx + ecx]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov byte [0x1018c6b8], al
mov esi, dword [esi + 4]
push edx
mov dword [esi + edi*4], ecx
mov dword [esp + 0x34], 0xffffffff
call fcn.10072d60
mov eax, dword [esp + 0x40]
add esp, 0x10
jmp 0x10056195
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
sub edx, eax
mov edi, eax
sar edx, 2
cmp edx, 1
jae 0x100560a0
test ecx, ecx
je 0x10056007
mov edx, eax
sub edx, ecx
sar edx, 2
cmp edx, 1
ja 0x1005600c
mov edx, 1
test ecx, ecx
jne 0x10056014
xor eax, eax
jmp 0x10056019
sub eax, ecx
sar eax, 2
add eax, edx
test eax, eax
mov dword [esp + 0x2c], eax
jge 0x10056025
xor eax, eax
shl eax, 2
push eax
call fcn.1013c2df
mov ecx, dword [esi + 4]
add esp, 4
mov ebx, eax
push ebx
push edi
push ecx
mov ecx, esi
call fcn.100a9a70
lea edx, [esp + 0x10]
mov ebp, eax
push edx
push 1
push ebp
mov ecx, esi
call fcn.100a9aa0
mov eax, dword [esi + 8]
add ebp, 4
push ebp
push eax
push edi
mov ecx, esi
call fcn.100a9a70
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call fcn.100567e0
mov eax, dword [esi + 4]
push eax
call fcn.101307a0
mov eax, dword [esp + 0x30]
add esp, 4
lea ecx, [ebx + eax*4]
mov dword [esi + 0xc], ecx
mov ecx, esi
call fcn.1000bce0
mov ebp, dword [esp + 0x30]
lea edx, [ebx + eax*4 + 4]
mov dword [esi + 8], edx
mov dword [esi + 4], ebx
jmp 0x1005612c
mov ecx, eax
sub ecx, edi
sar ecx, 2
cmp ecx, 1
jae 0x100560ee
lea edx, [edi + 4]
mov ecx, esi
push edx
push eax
push edi
call fcn.100a9a70
mov eax, dword [esi + 8]
lea ecx, [esp + 0x10]
mov edx, eax
push ecx
sub edx, edi
mov ecx, 1
sar edx, 2
sub ecx, edx
push ecx
push eax
mov ecx, esi
call fcn.100a9aa0
mov eax, dword [esi + 8]
cmp edi, eax
je 0x10056128
mov edx, dword [esp + 0x10]
mov dword [edi], edx
add edi, 4
cmp edi, eax
jne 0x100560df
jmp 0x10056128
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.100a9a70
mov ecx, dword [esi + 8]
lea eax, [ecx - 4]
cmp edi, eax
je 0x10056114
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, edi
mov dword [ecx], edx
jne 0x10056105
lea eax, [edi + 4]
cmp edi, eax
je 0x10056128
mov ecx, dword [esp + 0x10]
mov dword [edi], ecx
add edi, 4
cmp edi, eax
jne 0x1005611b
add dword [esi + 8], 4
mov esi, dword [0x1018c6a8]
mov eax, 0x1f1
cdq
idiv esi
mov cl, byte [0x1018c6b9]
mov edi, dword [0x1018c6a4]
mov al, byte [0x1018c6b8]
mov bl, cl
inc cl
mov byte [0x1018c6b9], cl
mov dl, byte [edx + edi]
push edx
push ebx
push eax
mov eax, 0x25b
cdq
idiv esi
sub cl, byte [edx + edi]
push ecx
call fcn.10056a60
add esp, 8
push eax
call fcn.10056ab0
add esp, 8
push eax
call fcn.1011ce80
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], 0xffffffff
push ecx
call fcn.10072d60
add esp, 0xc
mov eax, ebp
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc