Function at 0x4658d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b45cc
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4dbe18]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004688d0
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov esi, dword [edi + 0x204]
cmp esi, dword [edi + 0x208]
jbe 0x46591e
call fcn.0048b3f2
mov ebx, dword [edi + 0x1f8]
jmp 0x465930
mov eax, dword [edi + 0x208]
mov dword [ebp - 0x14], eax
cmp dword [edi + 0x204], eax
jbe 0x465946
call fcn.0048b3f2
mov eax, dword [edi + 0x1f8]
test ebx, ebx
je 0x465954
cmp ebx, eax
je 0x465959
call fcn.0048b3f2
cmp esi, dword [ebp - 0x14]
je 0x465a0e
test ebx, ebx
jne 0x4659f7
call fcn.0048b3f2
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46597b
call fcn.0048b3f2
cmp dword [esi + 0x20], 0
je 0x4659da
test ebx, ebx
jne 0x4659fe
call fcn.0048b3f2
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x465996
call fcn.0048b3f2
movzx ecx, byte [ebp + 0xc]
mov dword [esi + 0x24], ecx
test ebx, ebx
jne 0x465a02
call fcn.0048b3f2
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x4659b2
call fcn.0048b3f2
movzx edx, byte [ebp + 0x10]
mov dword [esi + 0x28], edx
test ebx, ebx
jne 0x465a06
call fcn.0048b3f2
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x4659ce
call fcn.0048b3f2
push esi
lea edi, [ebp - 0x34]
call fcn.00468950
mov edi, dword [ebp + 8]
test ebx, ebx
jne 0x465a0a
call fcn.0048b3f2
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x4659ef
call fcn.0048b3f2
add esi, 0x34
jmp 0x465930
mov eax, dword [ebx]
jmp 0x465971
mov eax, dword [ebx]
jmp 0x46598c
mov eax, dword [ebx]
jmp 0x4659a8
mov eax, dword [ebx]
jmp 0x4659c4
mov eax, dword [ebx]
jmp 0x4659e5
push 0x4e2d14
push 0x20
call fcn.0048c58e
mov ebx, eax
add esp, 8
mov dword [ebp + 0xc], ebx
xor eax, eax
mov byte [ebp - 4], 1
cmp ebx, eax
je 0x465a5d
push 4
mov dword [ebx], eax
mov dword [ebx + 4], eax
lea edi, [ebx + 8]
call fcn.00480fb6
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x465a48
mov dword [eax], edi
jmp 0x465a4a
xor eax, eax
mov dword [edi], eax
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
mov edi, dword [ebp + 8]
mov dword [ebp + 0xc], ebx
jmp 0x465a62
mov dword [ebp + 0xc], eax
mov ebx, eax
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 3
test ebx, ebx
je 0x465b3b
mov ecx, dword [edi + 0x30]
mov dword [ebx], ecx
lea eax, [edi + 0x19c]
mov dword [ebx + 4], eax
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x28]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [0x4e3954]
mov eax, dword [edx + 0xc]
sub esp, 0x10
mov ecx, 0x4e3954
add ebx, 8
mov dword [ebp + 0x10], esp
mov edi, esp
call eax
add eax, 0x10
mov dword [edi], eax
xor eax, eax
mov ecx, esi
mov edx, ebx
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
call fcn.004690f0
mov esi, dword [ebx + 0xc]
cmp esi, dword [ebx + 0x10]
jbe 0x465ad7
call fcn.0048b3f2
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov ebx, dword [ebx]
mov dword [ebp + 8], eax
cmp ecx, eax
jbe 0x465af1
call fcn.0048b3f2
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edi, ecx
cmp ecx, eax
jbe 0x465afc
call fcn.0048b3f2
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
push ebx
mov byte [ebp + 0x10], 0
mov ecx, dword [ebp + 0x10]
push ecx
push edx
push eax
lea ecx, [ebp - 0x1c]
push edi
push ecx
call fcn.0046a380
mov edx, dword [ebp + 0xc]
add esp, 0x1c
push 0
push 0
push edx
push 0x462240
push 0
push 0
call fcn.0048d484
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.0043e6f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc