Function at 0x100057a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d1b1a
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x10116404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0
cmp dword [esi + 0x200b4], 0
mov dword [ebp - 4], 4
jne 0x10005809
push 0
push 0
push esi
push 0x10008930
push 0
push 0
call fcn.100b05ff
add esp, 0x18
mov dword [esi + 0x200b4], eax
push 0x14
call fcn.10086e10
mov edi, eax
add esp, 4
mov dword [ebp - 0x40], edi
mov byte [ebp - 4], 5
test edi, edi
je 0x1000586c
sub esp, 0x18
lea eax, [ebp + 0x70]
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.10006ae0
sub esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp + 0x58]
mov dword [ebp - 0x50], esp
mov ecx, esp
push eax
call fcn.10006ae0
push dword [ebp + 0x54]
lea eax, [ebp + 0x3c]
mov byte [ebp - 4], 7
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10006ae0
push edi
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.10005fb0
mov dword [ebp - 0x40], eax
jmp 0x10005873
mov dword [ebp - 0x40], 0
push 0xc
mov byte [ebp - 4], 4
call fcn.10086e10
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x10005897
mov ecx, eax
call fcn.10006cb0
mov edi, eax
jmp 0x10005899
xor edi, edi
push ebx
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.1000a820
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x90], 0x100048f0
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x5c], 0
mov ecx, dword [ebp + 0x38]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x100058e8
mov eax, dword [ecx]
lea edx, [ebp - 0x80]
push edx
call dword [eax]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xb
push eax
call fcn.10006490
mov ecx, dword [ebp - 0x5c]
add esp, 4
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x1000592e
mov edx, dword [ecx]
lea eax, [ebp - 0x80]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [esi + 0x2008c]
call fcn.1000af70
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10005959
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x10005978
mov edx, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp + 0x38], 0
mov edx, dword [ebp + 0x50]
cmp edx, 0x10
jb 0x100059ac
mov ecx, dword [ebp + 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100059a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005a53
push edx
push ecx
call fcn.1008f7e1
add esp, 8
mov edx, dword [ebp + 0x6c]
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0xf
mov byte [ebp + 0x3c], 0
cmp edx, 0x10
jb 0x100059ee
mov ecx, dword [ebp + 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100059e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005a58
push edx
push ecx
call fcn.1008f7e1
add esp, 8
mov edx, dword [ebp + 0x84]
mov dword [ebp + 0x68], 0
mov dword [ebp + 0x6c], 0xf
mov byte [ebp + 0x58], 0
cmp edx, 0x10
jb 0x10005a33
mov ecx, dword [ebp + 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005a29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005a5d
push edx
push ecx
call fcn.1008f7e1
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008fb60
mov esp, ebp
pop ebp
ret 0x80
call fcn.100adb49
call fcn.100adb49
call fcn.100adb49
int3