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

Disassembly:
push 0xffffffffffffffff
push 0x618deb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x682d00]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
call fcn.005014b0
push 0x478770
push fcn.005eec00
push 2
lea eax, [esi + 0xc]
push 4
xor ebp, ebp
push eax
mov dword [esp + 0x38], ebp
mov dword [esi], vtable.ZrulEnetPair.0
call fcn.005f9bc7
lea ecx, [esi + 0x14]
push ebp
mov byte [esp + 0x28], 1
call fcn.004f5690
lea edi, [esi + 0x1c]
mov dword [edi + 8], ebp
mov dword [edi], ebp
mov dword [edi + 4], ebp
lea ebx, [esi + 0x28]
mov dword [ebx + 8], ebp
mov dword [ebx], ebp
mov dword [ebx + 4], ebp
lea ecx, [esi + 0x34]
push ebp
mov byte [esp + 0x28], 4
call fcn.004f5690
lea ebp, [esi + 0x6c]
xor eax, eax
mov dword [ebp + 8], eax
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [esi + 0x78], eax
lea ecx, [esi + 0x7c]
mov byte [esp + 0x24], 7
call fcn.004f5670
push esi
lea ecx, [esi + 0x7c]
mov byte [esp + 0x28], 8
call fcn.005fdfd0
push 0
lea ecx, [esi + 0xc]
call fcn.004787a0
push 0
lea ecx, [esi + 0x10]
call fcn.004787a0
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esi + 0x14]
call fcn.004f5090
mov eax, dword [edi]
test eax, eax
jge 0x49540b
cmp eax, 0x100
jle 0x4953cb
mov dword [esp + 0x2c], 0x100
jmp 0x4953db
mov dword [esp + 0x2c], eax
test eax, eax
jg 0x4953db
mov dword [esp + 0x2c], 1
mov ecx, dword [edi + 8]
push edi
mov dword [esp + 0x18], ecx
call fcn.00501320
mov ecx, dword [esp + 0x30]
mov edx, dword [eax]
mov edx, dword [edx + 4]
add ecx, ecx
add ecx, ecx
add esp, 4
push ecx
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, eax
call edx
mov dword [edi + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [edi], eax
mov eax, dword [edi + 4]
test eax, eax
jge 0x495432
lea ecx, [eax*4]
lea esp, [esp]
mov eax, dword [edi + 8]
add eax, ecx
je 0x49542d
mov dword [eax], 0
add ecx, 4
js 0x495420
mov dword [edi + 4], 0
mov edi, dword [ebx]
test edi, edi
jge 0x495482
cmp edi, 0x100
jle 0x49544e
mov edi, 0x100
jmp 0x495457
test edi, edi
jg 0x495457
mov edi, 1
mov ecx, dword [ebx + 8]
push ebx
mov dword [esp + 0x30], ecx
call fcn.00501320
mov edx, dword [eax]
mov edx, dword [edx + 4]
add esp, 4
lea ecx, [edi*4]
push ecx
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, eax
call edx
mov dword [ebx + 8], eax
mov dword [ebx], edi
mov eax, dword [ebx + 4]
test eax, eax
jge 0x4954a2
lea ecx, [eax*4]
mov eax, dword [ebx + 8]
add eax, ecx
je 0x49549d
mov dword [eax], 0
add ecx, 4
js 0x495490
push 0
lea ecx, [esi + 0x34]
mov dword [ebx + 4], 0
call fcn.004f5090
fld dword [0x631c90]
fst dword [esi + 0x3c]
or eax, 0xffffffff
fst dword [esi + 0x40]
mov dword [esi + 0x48], eax
fst dword [esi + 0x44]
mov dword [esi + 0x4c], eax
fst dword [esi + 0x50]
mov dword [esi + 0x60], eax
fst dword [esi + 0x54]
mov dword [esi + 0x64], 9
fst dword [esi + 0x58]
mov dword [esi + 0x68], eax
fstp dword [esi + 0x5c]
mov eax, dword [ebp]
test eax, eax
jge 0x495528
cmp eax, 0x100
jle 0x4954f9
mov edi, 0x100
jmp 0x495504
mov edi, eax
test edi, edi
jg 0x495504
mov edi, 1
mov ebx, dword [ebp + 8]
push ebp
call fcn.00501320
mov edx, dword [eax]
mov edx, dword [edx + 4]
add esp, 4
lea ecx, [edi*4]
push ecx
push ebx
mov ecx, eax
call edx
mov dword [ebp + 8], eax
mov dword [ebp], edi
mov eax, dword [ebp + 4]
test eax, eax
jge 0x495548
lea ecx, [eax*4]
mov eax, dword [ebp + 8]
add eax, ecx
je 0x495543
mov dword [eax], 0
add ecx, 4
js 0x495536
push 0
lea ecx, [esi + 0x78]
mov dword [ebp + 4], 0
call fcn.004787a0
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4