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

Disassembly:
sub esp, 0x294
push ebx
push ebp
mov ebp, dword [esp + 0x2a0]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x40], 0
mov eax, dword [ebp]
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebp
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], connect
call dword [eax + 0x20]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], connect
test eax, eax
jle 0x4893c1
push 8
push eax
lea eax, [esp + 0x3c]
push eax
push 0x7d8954
call fcn.00467b80
mov eax, dword [esp + 0x54]
add esp, 0x10
xor esi, esi
test eax, eax
jle 0x489405
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x40]
mov ebx, eax
mov ecx, dword [ecx + esi*4]
mov edx, dword [ecx]
call dword [edx + 0xc]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
lea ecx, [ecx + edx*8]
test ecx, ecx
je 0x4893f9
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x38]
inc edx
inc esi
mov dword [esp + 0x38], edx
cmp esi, dword [esp + 0x44]
jl 0x4893c7
lea ecx, [esp + 0x4c]
call fcn.0048e800
xor esi, esi
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0xffffffff
cmp dword [edi + 0x10], esi
jle 0x4894b6
nop dword [eax + eax]
mov eax, dword [edi + 0xc]
mov ebx, dword [eax + esi*4]
push ebx
call fcn.00489e10
add esp, 4
test eax, eax
je 0x4898d1
cmp dword [ebx + 8], 0xffffffff
jne 0x4894a9
push dword [ebx + 0xc]
mov ecx, dword [edi + 8]
push dword [ebx + 4]
call fcn.00489d40
mov ebp, edx
lea ecx, [esp + 0x60]
mov ebx, eax
push ebp
push ebx
call fcn.0046b4a0
cmp eax, dword [esp + 0x68]
jle 0x4898d1
mov eax, esi
lea ecx, [esp + 0x60]
cdq
push edx
push eax
push ebp
push ebx
push 0x7d8954
call fcn.0046bad0
inc esi
cmp esi, dword [edi + 0x10]
jl 0x489450
mov ebp, dword [esp + 0x2a8]
mov ebx, dword [esp + 0x2b0]
xor ecx, ecx
mov eax, connect
mov dword [esp + 0x18], ecx
xor esi, esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov dword [ebx + 4], 0
cmp dword [esp + 0x38], ecx
jle 0x48967f
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x64]
push ecx
push edi
push ebp
push dword [eax + esi*8 + 4]
push dword [eax + esi*8]
lea eax, [esp + 0x30]
push eax
call fcn.0048a6b0
inc esi
add esp, 0x1c
cmp esi, dword [esp + 0x38]
jl 0x4894e3
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x489677
nop word [eax + eax]
mov ecx, dword [esp + 0x18]
dec eax
movups xmm0, xmmword [ecx]
mov dword [esp + 0x1c], eax
lea edx, [ecx + 0x10]
shl eax, 4
movups xmmword [esp + 0x24], xmm0
test eax, eax
jle 0x489557
lea esi, [eax - 1]
shr esi, 3
inc esi
mov eax, dword [edx]
lea edx, [edx + 8]
mov dword [ecx], eax
lea ecx, [ecx + 8]
mov eax, dword [edx - 4]
mov dword [ecx - 4], eax
sub esi, 1
jne 0x489542
mov esi, dword [esp + 0x2c]
cmp esi, 0xffffffff
je 0x489572
mov eax, dword [edi + 0xc]
mov eax, dword [eax + esi*4]
cmp dword [eax + 8], 0xffffffff
jne 0x489572
push 0
push 1
jmp 0x489576
push 0
push 2
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x84]
mov ebp, dword [esp + 0x2c]
push ebx
push ebp
push 0x7d8954
call fcn.0046bad0
test esi, esi
js 0x4895fe
mov eax, dword [edi + 0xc]
mov ebx, dword [esp + 0x2b0]
mov ebp, dword [eax + esi*4]
mov eax, dword [ebx + 8]
and eax, 0x3fffffff
cmp dword [ebx + 4], eax
jne 0x4895bf
push 4
push ebx
push 0x7d8954
call fcn.00467c00
add esp, 0xc
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], ebp
inc dword [ebx + 4]
mov eax, dword [edi + 0xc]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4895d9
mov ecx, dword [eax]
lea edx, [esp + 0x7c]
push edx
lea edx, [esp + 0x64]
push edx
push edi
push dword [esp + 0x2b4]
push dword [eax + 0xc]
lea eax, [esp + 0x2c]
push ecx
push eax
call fcn.0048a6b0
add esp, 0x1c
jmp 0x48966b
push ebx
push ebp
mov ecx, edi
call fcn.004891e0
push ebx
mov esi, eax
mov ecx, edi
push ebp
mov dword [esp + 0x1c], esi
call fcn.00489200
mov ebx, eax
cmp ebx, 0xffffffff
je 0x489664
mov eax, dword [esp + 0x2ac]
mov ecx, eax
push esi
mov edx, dword [eax]
call dword [edx + 0x10]
mov esi, eax
test esi, esi
je 0x48983f
mov ecx, esi
call fcn.0045e3c0
cmp eax, ebx
jne 0x4897b0
mov ecx, esi
call fcn.0045dc70
push eax
lea ecx, [esp + 0x50]
call fcn.0048ebd0
test eax, eax
jne 0x489664
push esi
lea ecx, [esp + 0x50]
call fcn.0048ebf0
mov ebx, dword [esp + 0x2b0]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x489520
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], 0
test eax, eax
js 0x4896a2
and eax, 0x3fffffff
shl eax, 4
push eax
mov eax, dword [0x7d8954]
push ecx
mov ecx, 0x7d8954
call dword [eax + 0x10]
mov ecx, dword [ebx + 4]
sub ecx, 1
mov dword [esp + 0x78], ecx
js 0x489a13
mov eax, dword [ebx]
mov edi, dword [eax + ecx*4]
mov ecx, dword [edi]
mov ebp, ecx
mov eax, dword [edi + 4]
test eax, eax
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x4c]
cmovne ebp, eax
push ebp
call fcn.0048ebd0
push eax
lea ecx, [esp + 0x18]
call fcn.00484dc0
lea ecx, [esp + 0x14]
call fcn.00484de0
test eax, eax
je 0x48978b
mov eax, dword [edi + 8]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x8c]
push eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], inet_addr
mov dword [esp + 0x90], ebp
mov dword [esp + 0x98], 0
call fcn.0048e920
push eax
lea ecx, [esp + 0x70]
call fcn.00484dc0
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x14], eax
call fcn.00484dd0
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x9c], 0
test eax, eax
js 0x48978b
and eax, 0x3fffffff
mov ecx, 0x7d8954
lea eax, [eax + eax*4]
shl eax, 2
push eax
mov eax, dword [0x7d8954]
push dword [esp + 0x9c]
call dword [eax + 0x10]
mov esi, dword [edi + 0x14]
sub esi, 1
js 0x4899bb
mov eax, dword [edi + 0x10]
lea ecx, [eax + esi*8]
mov eax, dword [ecx]
dec eax
cmp eax, 7
ja case.0x4897a9.4
jmp dword [eax*4 + 0x489c24]
push 0x200
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x2c]
call fcn.004745a0
push str.Make_sure_required_patches_are_registered_to_update_this_class.
push str._is_the_current_version._n
mov ecx, esi
call fcn.0045e3c0
push eax
push str.__but
push ebx
push str._version
push dword [esp + 0x2c]
lea ecx, [esp + 0x40]
push str.Source_contains
call fcn.0045cb80
mov ecx, eax
call fcn.0045cb80
mov ecx, eax
call fcn.0045cb80
mov ecx, eax
call fcn.0045cc40
mov ecx, eax
call fcn.0045cb80
mov ecx, eax
call fcn.0045cc40
mov ecx, eax
call fcn.0045cb80
mov ecx, eax
call fcn.0045cb80
push 0x30a
push str.VersionhkVersionPatchManager.cpp
lea edx, [esp + 0xac]
push edx
push 0x3f79ddb1
jmp 0x489891
push 0x200
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x2c]
call fcn.004745a0
push str._is_not_registered._If_this_is_a_Havok_class__make_sure_the_classs_product_reflection_is_enabled_near_where_hkProductFeatures.cxx_is_included._Otherwise__check_your_own_class_registration.
push dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push str.Class
call fcn.0045cb80
mov ecx, eax
call fcn.0045cb80
mov ecx, eax
call fcn.0045cb80
push 0x303
push str.VersionhkVersionPatchManager.cpp
lea edx, [esp + 0xac]
push edx
push 0x3f79ddb0
mov ecx, dword [0x884c54]
push 1
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [esp + 0x24]
call fcn.0045caa0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], 0
test eax, eax
js 0x4898d1
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 4
push eax
mov eax, dword [0x7d8954]
push dword [esp + 0x1c]
call dword [eax + 0x10]
mov esi, 1
jmp 0x489b72
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x4c]
push dword [eax]
push dword [eax + 4]
lea eax, [esp + 0x1c]
push eax
call fcn.0048f3d0
jmp case.0x4897a9.4
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x4c]
push 0
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x28]
push eax
call fcn.0048f330
jmp case.0x4897a9.4
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x4c]
push dword [eax]
lea eax, [esp + 0x18]
push eax
call fcn.0048f5e0
jmp case.0x4897a9.4
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x4c]
push dword [eax]
call fcn.0048ebd0
push eax
lea ecx, [esp + 0x8c]
call fcn.00484dc0
lea ecx, [esp + 0x88]
jmp 0x4899ad
mov eax, dword [ecx + 4]
mov eax, dword [eax]
test eax, eax
je 0x48998b
push eax
lea ecx, [esp + 0x50]
call fcn.0048ebd0
push eax
lea ecx, [esp + 0x74]
call fcn.00484dc0
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x54]
call fcn.0048f2e0
lea ecx, [esp + 0x70]
jmp 0x4899ad
push 0
lea ecx, [esp + 0x78]
call fcn.00484dc0
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x54]
call fcn.0048f2e0
lea ecx, [esp + 0x74]
call fcn.00484dd0
sub esi, 1
jns 0x489797
cmp dword [edi + 8], 0xffffffff
jne 0x4899d1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
call fcn.0048f280
jmp 0x4899f9
mov eax, dword [esp + 0x5c]
cmp ebp, eax
je 0x4899e8
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x54]
call fcn.0048f210
push dword [edi + 8]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x54]
call fcn.0048f2d0
lea ecx, [esp + 0x14]
call fcn.00484dd0
mov ecx, dword [esp + 0x78]
sub ecx, 1
mov dword [esp + 0x78], ecx
jns 0x4896b2
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], connect
call fcn.0048ebc0
push dword [esp + 0x5c]
lea ecx, [esp + 0x28]
call fcn.0046a7a0
push dword [esp + 0x5c]
lea ecx, [esp + 0x90]
call fcn.0046a7a0
xor edi, edi
cmp dword [esp + 0x1c], edi
jle 0x489a80
nop
mov eax, dword [esp + 0x18]
mov esi, dword [eax + edi*4]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
push esi
push eax
lea ecx, [esp + 0x2c]
call fcn.0046abd0
inc edi
cmp edi, dword [esp + 0x1c]
jl 0x489a60
xor esi, esi
cmp dword [esp + 0x44], esi
jle 0x489ac9
nop dword [eax + eax]
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 8]
push 0
push eax
lea ecx, [esp + 0x2c]
call fcn.0046ab90
test eax, eax
je 0x489ac2
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 8]
push eax
lea ecx, [esp + 0x28]
call fcn.0046ad60
inc esi
cmp esi, dword [esp + 0x44]
jl 0x489a90
lea ecx, [esp + 0x24]
call fcn.0046aac0
mov edi, eax
lea ecx, [esp + 0x24]
push edi
lea eax, [esp + 0x17]
push eax
call fcn.0046ad00
cmp byte [esp + 0x13], 0
je 0x489b31
mov ebx, dword [esp + 0x2a8]
push edi
lea ecx, [esp + 0x28]
call fcn.0046ab80
mov esi, dword [ebx]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
push eax
mov ecx, ebx
call dword [esi + 0x58]
push edi
lea ecx, [esp + 0x28]
call fcn.0046aaf0
mov edi, eax
lea ecx, [esp + 0x24]
push edi
lea eax, [esp + 0x17]
push eax
call fcn.0046ad00
cmp byte [esp + 0x13], 0
jne 0x489af1
lea ecx, [esp + 0x8c]
call fcn.0046a7e0
lea ecx, [esp + 0x24]
call fcn.0046a7e0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], 0
test eax, eax
js 0x489b70
and eax, 0x3fffffff
mov ecx, 0x7d8950
shl eax, 2
push eax
mov eax, dword [0x7d8950]
push dword [esp + 0x1c]
call dword [eax + 0x10]
xor esi, esi
push 0x7d8954
lea ecx, [esp + 0x64]
call fcn.0046b420
lea ecx, [esp + 0x60]
call fcn.0046b120
push 0x7d8954
lea ecx, [esp + 0x80]
call fcn.0046b420
lea ecx, [esp + 0x7c]
call fcn.0046b120
lea ecx, [esp + 0x4c]
call fcn.0048e8c0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], 0
test eax, eax
js 0x489bd6
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 3
push eax
mov eax, dword [0x7d8954]
push dword [esp + 0x38]
call dword [eax + 0x10]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], connect
mov dword [esp + 0x44], 0
test edx, edx
js 0x489c12
and edx, 0x3fffffff
mov ecx, 0x7d8950
shl edx, 2
push edx
mov edx, dword [0x7d8950]
push dword [esp + 0x44]
call dword [edx + 0x10]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x294
ret 0xc