Function at 0x4ce6b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x98
lea ecx, [esp + 0x6c]
push ebx
mov ebx, dword [esp + 0xa8]
push ebp
push esi
push edi
push dword [esp + 0xb8]
push dword [ebx]
call fcn.004d0bb0
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x4ce711
nop word [eax + eax]
mov esi, dword [edi]
test esi, esi
je 0x4ce70a
mov eax, dword [esi]
test eax, eax
je 0x4ce70a
nop dword [eax]
push dword [esi + 4]
lea ecx, [esp + 0x88]
push eax
call fcn.0046abd0
mov eax, dword [esi + 8]
lea esi, [esi + 8]
test eax, eax
jne 0x4ce6f0
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x4ce6e0
mov edi, dword [esp + 0xac]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], connect
mov eax, dword [edi + 4]
test eax, eax
jle 0x4ce753
xor ecx, ecx
test eax, eax
push 4
cmovs eax, ecx
push eax
lea eax, [esp + 0x30]
push eax
push 0x7d8950
call fcn.00467b80
add esp, 0x10
lea eax, [esp + 0x28]
push eax
push edi
push ebx
lea ecx, [esp + 0xa4]
call fcn.004d0a50
mov eax, dword [edi + 4]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], connect
test eax, eax
jle 0x4ce7a1
xor ecx, ecx
test eax, eax
push 4
cmovs eax, ecx
push eax
lea eax, [esp + 0x48]
push eax
push 0x7d8950
call fcn.00467b80
add esp, 0x10
mov eax, dword [edi + 4]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], connect
test eax, eax
jle 0x4ce7dc
xor ecx, ecx
test eax, eax
push 4
cmovs eax, ecx
push eax
lea eax, [esp + 0x58]
push eax
push 0x7d8950
call fcn.00467b80
add esp, 0x10
mov eax, connect
xor ebx, ebx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x5c], ebx
test eax, eax
jle 0x4ce82b
shl eax, 3
mov ecx, 0x7d8950
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x7d8950]
call dword [eax + 0xc]
mov ebx, eax
mov eax, dword [esp + 0x10]
cdq
and edx, 7
mov dword [esp + 0x5c], ebx
lea ecx, [edx + eax]
sar ecx, 3
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x64], ecx
mov edx, dword [edi + 4]
mov esi, dword [edi]
mov dword [esp + 0x60], edx
test edx, edx
jle 0x4ce855
mov ecx, ebx
sub esi, ebx
nop dword [eax]
mov eax, dword [esi + ecx]
lea ecx, [ecx + 8]
mov dword [ecx - 8], eax
mov eax, dword [esi + ecx - 4]
mov dword [ecx - 4], eax
sub edx, 1
jne 0x4ce840
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], connect
test eax, eax
jle 0x4ce895
xor ecx, ecx
test eax, eax
push 4
cmovs eax, ecx
push eax
lea eax, [esp + 0x3c]
push eax
push 0x7d8950
call fcn.00467b80
mov eax, dword [esp + 0x3c]
add esp, 0x10
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], connect
test eax, eax
jle 0x4ce8d1
xor ecx, ecx
test eax, eax
push 4
cmovs eax, ecx
push eax
lea eax, [esp + 0x24]
push eax
push 0x7d8950
call fcn.00467b80
mov eax, dword [esp + 0x3c]
add esp, 0x10
mov ebx, dword [esp + 0xb0]
xor ecx, ecx
mov dword [esp + 0x4c], ecx
test eax, eax
jle 0x4ceb06
mov eax, dword [esp + 0x28]
mov eax, dword [eax + ecx*4]
mov ecx, dword [edi]
mov dword [esp + 0x14], eax
shl eax, 3
mov dword [esp + 0x10], eax
mov ecx, dword [ecx + eax + 4]
call fcn.0045dc70
mov ebp, eax
lea ecx, [esp + 0x98]
push 0
push ebp
mov dword [esp + 0x20], ebp
call fcn.0046ab90
push ebp
mov esi, eax
lea ecx, [esp + 0x88]
push ebp
mov dword [esp + 0x70], esi
call fcn.0046ab90
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x4ce941
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ebp, eax
jmp 0x4ce943
xor ebp, ebp
test byte [esi + 8], 0x10
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
je 0x4ce996
mov edx, dword [ebx]
push dword [ecx + eax]
mov ecx, ebx
call dword [edx + 0x20]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
and eax, 0x3fffffff
cmp ecx, eax
jne 0x4ce982
push 4
lea eax, [esp + 0x54]
push eax
push 0x7d8950
call fcn.00467c00
mov ecx, dword [esp + 0x60]
add esp, 0xc
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], edx
inc dword [esp + 0x54]
jmp 0x4ceaf3
mov dword [ecx + eax + 4], ebp
test ebp, ebp
je 0x4cecbe
mov eax, dword [esi + 8]
test al, 2
jne 0x4cea2f
test al, 8
je 0x4ce9eb
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
and eax, 0x3fffffff
cmp ecx, eax
jne 0x4ce9da
push 4
lea eax, [esp + 0x44]
push eax
push 0x7d8950
call fcn.00467c00
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], edx
inc dword [esp + 0x44]
jmp 0x4cea33
test al, 4
je 0x4cea2f
mov esi, dword [esp + 0x5c]
push ebp
push dword [ecx + esi + 4]
push dword [ecx + esi]
call fcn.0049af20
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [ebx]
push dword [ecx + esi]
mov ecx, ebx
call dword [eax + 0x20]
mov esi, dword [ebx]
mov ecx, ebp
call fcn.0045dc70
mov ecx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x14]
push dword [eax + ecx]
mov ecx, ebx
call dword [esi + 0x1c]
mov esi, dword [esp + 0x68]
mov edx, dword [esp + 0x14]
test byte [esi + 8], 0x20
je 0x4cea71
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
and eax, 0x3fffffff
cmp ecx, eax
jne 0x4cea66
push 4
lea eax, [esp + 0x38]
push eax
push 0x7d8950
call fcn.00467c00
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov dword [eax + ecx*4], edx
inc dword [esp + 0x38]
test byte [esi + 8], 0x40
je 0x4ceaaf
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
and eax, 0x3fffffff
cmp ecx, eax
jne 0x4ceaa4
push 4
lea eax, [esp + 0x20]
push eax
push 0x7d8950
call fcn.00467c00
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov dword [eax + ecx*4], edx
inc dword [esp + 0x20]
push dword [esp + 0x18]
mov ecx, ebp
call fcn.0045dc70
push eax
call fcn.0045d370
add esp, 8
test eax, eax
je 0x4ceaf3
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x5c]
mov eax, dword [ebx]
push dword [ecx + edx]
mov ecx, ebx
call dword [eax + 0x20]
mov esi, dword [ebx]
mov ecx, ebp
call fcn.0045dc70
mov ecx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x14]
push dword [eax + ecx]
mov ecx, ebx
call dword [esi + 0x1c]
mov ecx, dword [esp + 0x4c]
inc ecx
mov dword [esp + 0x4c], ecx
cmp ecx, dword [esp + 0x2c]
jl 0x4ce8e6
push ebx
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x64]
push edi
push eax
call fcn.004d0d60
xor esi, esi
mov dword [esp + 0x80], 0
add esp, 0x10
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0xffffffff
cmp dword [esp + 0x38], esi
jle 0x4ceb6f
nop dword [eax]
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x70]
push edx
push 1
lea edx, [esp + 0x84]
mov ecx, dword [eax + esi*4]
mov eax, dword [edi]
push edx
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
push ebx
call fcn.004d1b60
inc esi
add esp, 0x18
cmp esi, dword [esp + 0x38]
jl 0x4ceb40
xor esi, esi
cmp dword [esp + 0x20], esi
jle 0x4ceba6
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x70]
push edx
push 1
lea edx, [esp + 0x84]
mov ecx, dword [eax + esi*4]
mov eax, dword [edi]
push edx
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
push ebx
call fcn.004d1920
inc esi
add esp, 0x18
cmp esi, dword [esp + 0x20]
jl 0x4ceb77
push 0x7d8954
lea ecx, [esp + 0x74]
call fcn.0046b3e0
lea ecx, [esp + 0x70]
call fcn.0046b110
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], 0
test eax, eax
js 0x4cebe7
and eax, 0x3fffffff
mov ecx, 0x7d8950
shl eax, 2
push eax
mov eax, dword [0x7d8950]
push dword [esp + 0x20]
call dword [eax + 0x10]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], connect
mov dword [esp + 0x38], 0
test eax, eax
js 0x4cec21
and eax, 0x3fffffff
mov ecx, 0x7d8950
shl eax, 2
push eax
mov eax, dword [0x7d8950]
push dword [esp + 0x38]
call dword [eax + 0x10]
mov ecx, dword [edi + 4]
xor edx, edx
mov ebp, dword [esp + 0x2c]
inc ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x4c], edx
test ebp, ebp
je 0x4cec3d
mov ecx, dword [eax]
xor esi, esi
mov dword [esp + 0x10], ecx
cmp dword [edi + 4], edx
jle 0x4ced69
nop dword [eax]
cmp esi, ecx
jge 0x4ced47
mov eax, dword [edi]
mov ecx, dword [eax + esi*8 + 4]
lea ebp, [eax + esi*8]
call fcn.0045dc70
push 0
push eax
lea ecx, [esp + 0x8c]
call fcn.0046ab90
mov dword [esp + 0x18], eax
test eax, eax
je 0x4cec95
mov edx, dword [ebx]
mov ecx, ebx
push dword [ebp]
call dword [edx + 0x20]
push dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp]
call dword [eax + 0x1c]
mov ecx, dword [ebp + 4]
call fcn.0045dc70
push eax
push eax
lea ecx, [esp + 0x8c]
call fcn.0046ab90
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x4ced2c
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
jmp 0x4ced2e
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], 0
test eax, eax
js 0x4cece8
and eax, 0x3fffffff
mov ecx, 0x7d8950
shl eax, 2
push eax
mov eax, dword [0x7d8950]
push dword [esp + 0x20]
call dword [eax + 0x10]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], connect
mov dword [esp + 0x38], 0
test eax, eax
js 0x4ced22
and eax, 0x3fffffff
mov ecx, 0x7d8950
shl eax, 2
push eax
mov eax, dword [0x7d8950]
push dword [esp + 0x38]
call dword [eax + 0x10]
mov esi, 1
jmp 0x4cee55
xor eax, eax
mov dword [ebp + 4], eax
test eax, eax
je 0x4ced22
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x4c]
jmp 0x4ced5f
jne 0x4ced5f
inc edx
mov dword [esp + 0x4c], edx
cmp edx, ebp
jge 0x4ced57
mov ecx, dword [eax + edx*4]
jmp 0x4ced5b
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], ecx
inc esi
cmp esi, dword [edi + 4]
jl 0x4cec50
xor esi, esi
test ebp, ebp
jle 0x4cedbe
nop
mov eax, dword [eax + esi*4]
mov ecx, dword [esp + 0x5c]
mov ebp, dword [edi]
shl eax, 3
add ecx, eax
add ebp, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [ecx + 4]
call fcn.0045dc70
push 0
push eax
lea ecx, [esp + 0xa0]
call fcn.0046ab90
test eax, eax
je 0x4cedb1
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4cedb1
push ebx
push ebp
push dword [esp + 0x20]
call eax
add esp, 0xc
inc esi
cmp esi, dword [esp + 0x2c]
jge 0x4cedbe
mov eax, dword [esp + 0x28]
jmp 0x4ced70
xor esi, esi
cmp dword [esp + 0x44], esi
jle 0x4cedf2
mov eax, dword [esp + 0x40]
mov edx, dword [ebx]
mov eax, dword [eax + esi*4]
lea ecx, [eax*8]
mov eax, dword [edi]
push dword [eax + ecx + 4]
push dword [eax + ecx]
mov eax, dword [esp + 0x64]
push dword [eax + ecx]
mov ecx, ebx
call dword [edx + 0x18]
inc esi
cmp esi, dword [esp + 0x44]
jl 0x4cedc6
mov ebp, dword [esp + 0x54]
sub ebp, 1
js 0x4cee53
nop dword [eax + eax]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
push 0
push 0
mov esi, dword [eax + ebp*4]
mov eax, dword [ebx]
lea ecx, [esi*8]
push dword [edx + ecx]
mov dword [esp + 0x24], ecx
mov ecx, ebx
call dword [eax + 0x18]
dec dword [edi + 4]
mov ecx, dword [edi + 4]
cmp ecx, esi
je 0x4cee4e
mov eax, dword [edi]
mov edx, 2
lea esi, [eax + ecx*8]
mov ecx, dword [esp + 0x18]
add ecx, eax
sub esi, ecx
mov eax, dword [esi + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub edx, 1
jne 0x4cee40
sub ebp, 1
jns 0x4cee00
xor esi, esi
mov eax, dword [esp + 0x6c]
test eax, eax
js 0x4cee77
and eax, 0x3fffffff
mov ecx, 0x7d8950
shl eax, 3
push eax
mov eax, dword [0x7d8950]
push dword [esp + 0x60]
call dword [eax + 0x10]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x54], 0
test eax, eax
js 0x4ceea1
and eax, 0x3fffffff
mov ecx, 0x7d8950
shl eax, 2
push eax
mov eax, dword [0x7d8950]
push dword [esp + 0x54]
call dword [eax + 0x10]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], connect
mov dword [esp + 0x44], 0
test eax, eax
js 0x4ceedb
and eax, 0x3fffffff
mov ecx, 0x7d8950
shl eax, 2
push eax
mov eax, dword [0x7d8950]
push dword [esp + 0x44]
call dword [eax + 0x10]
lea ecx, [esp + 0x98]
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], connect
call fcn.0046a7e0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], 0
test eax, eax
js 0x4cef21
and eax, 0x3fffffff
mov ecx, 0x7d8950
shl eax, 2
push eax
mov eax, dword [0x7d8950]
push dword [esp + 0x2c]
call dword [eax + 0x10]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], connect
mov dword [esp + 0x7c], vtable.hkRenamedClassNameRegistry.0
test ecx, ecx
je 0x4cef49
call fcn.0045c160
lea ecx, [esp + 0x84]
call fcn.0046a7e0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret