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

Disassembly:
sub esp, 0x5c
xor ecx, ecx
xor edx, edx
push ebx
push ebp
mov ebp, dword [esp + 0x68]
push esi
push edi
mov eax, dword [ebp + 0x160]
cmp dword [eax], ecx
cmove eax, edx
test eax, eax
je 0x486469
nop
cmp byte [eax + 0x1c], dl
cmovne ecx, eax
mov eax, dword [eax]
cmp dword [eax], edx
je 0x486460
test eax, eax
jne 0x486450
test ecx, ecx
je 0x486469
mov ebx, dword [ecx + 0x18]
jmp 0x48646b
xor ebx, ebx
push str.PatchConstantFunc
push ebp
call fcn.004080a0
mov esi, dword [esp + 0x7c]
push ebx
push ebp
mov dword [esi], eax
call fcn.0045bcc0
mov dword [esp + 0x80], eax
add esp, 0x10
mov eax, dword [esi]
mov esi, dword [esp + 0x70]
mov dword [eax + 0x18], esi
mov dword [esi + 0x10], eax
mov edi, dword [ebx + 0x18]
test edi, edi
je 0x486513
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
test eax, eax
je 0x486500
test ecx, ecx
je 0x486500
mov dl, byte [0x51a95c]
xor esi, esi
cmp dword [eax], esi
cmovne esi, eax
nop word [eax + eax]
cmp dword [ecx + 0xc], 4
jne 0x4864ee
mov eax, dword [ecx + 0x18]
cmp eax, 0x232
je 0x4864df
cmp eax, 0x2b
jne 0x4864ee
movzx eax, dl
test byte [ecx + eax*4 + 0x30], 8
je 0x4864ee
push ecx
call fcn.00409250
mov dl, byte [0x51a95c]
add esp, 4
mov ecx, esi
test esi, esi
je 0x4864fa
mov eax, dword [esi]
test eax, eax
jne 0x4864b3
xor esi, esi
test ecx, ecx
jne 0x4864c0
push edi
call fcn.00406fa0
mov edi, eax
add esp, 4
test edi, edi
jne 0x4864a0
mov esi, dword [esp + 0x70]
push 3
push ebx
call fcn.0040b910
push esi
call fcn.004869d0
add esp, 0xc
push ebp
call fcn.004abc40
push ebp
mov bl, al
call fcn.0041cba0
add esp, 8
test bl, bl
setne cl
or al, cl
jne 0x486524
mov eax, dword [esi + 0x10]
xorps xmm0, xmm0
movups xmmword [esp + 0x34], xmm0
mov dword [esp + 0x44], 0
mov eax, dword [eax + 0xc]
mov dword [esp + 0x40], eax
movups xmm0, xmmword [esp + 0x34]
mov dword [esp + 0x30], esi
movups xmmword [esp + 0x20], xmm0
mov eax, dword [esi + 0x18]
mov dword [esp + 0x18], eax
test eax, eax
je 0x486702
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x4866e6
test eax, eax
je 0x4866e6
xor esi, esi
cmp dword [ecx], esi
cmovne esi, ecx
mov dword [esp + 0x74], esi
nop dword [eax]
cmp dword [eax + 0xc], 4
jne 0x4866c4
cmp dword [eax + 0x18], 0x122
jne 0x4866c4
mov ecx, dword [eax + 0x24]
lea edx, [eax + 0x20]
mov dword [esp + 0x1c], edx
cmp ecx, edx
je 0x4866c4
test ecx, ecx
je 0x4865d6
cmp dword [ecx + 4], edx
je 0x4866c4
mov ebp, dword [eax + 0x24]
mov ecx, dword [ebp + 4]
lea ebx, [ebp - 4]
sub ecx, 4
mov dword [esp + 0x10], ecx
cmp ebp, edx
je 0x4866bb
nop
mov eax, dword [ebx]
test al, 1
je 0x486609
and eax, 0xfffffffe
xor ecx, ecx
mov eax, dword [eax + 4]
lea edx, [ecx + 1]
cmp dword [eax + 4], ecx
cmove eax, ecx
jmp 0x486635
cmp dword [eax + 0xc], 8
jne 0x486630
mov ecx, dword [ebx - 4]
lea eax, [ecx + 0x18]
cmp dword [ecx + 0x10], eax
je 0x486627
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x486627
cmp dword [eax + 0xc], 6
je 0x486630
mov edx, 1
mov eax, ecx
jmp 0x486635
mov edx, 2
push 0x122
push dword [esp + 0x30]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call fcn.00409600
mov esi, eax
push 0x20
push 1
lea edi, [esi + 0x1c]
push edi
push esi
call fcn.00407af0
lea eax, [esp + 0x38]
push esi
push eax
call fcn.0041d130
mov ecx, dword [ebp]
add esp, 0x20
mov eax, dword [ebp + 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 4]
mov eax, dword [ebp]
mov dword [ecx], eax
lea ecx, [edi + 4]
mov dword [ebp + 4], ecx
mov dword [ebp], 0
mov dword [ebx + 0xc], edi
mov eax, dword [ecx]
mov dword [ebp], eax
mov eax, dword [ecx]
mov dword [eax + 4], ebp
mov dword [ecx], ebp
mov ecx, dword [esp + 0x10]
mov ebx, ecx
mov ecx, dword [ecx + 8]
lea ebp, [ebx + 4]
sub ecx, 4
mov dword [esp + 0x10], ecx
cmp ebp, dword [esp + 0x1c]
jne 0x4865f0
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x14]
push eax
call fcn.00409250
add esp, 4
mov eax, esi
mov dword [esp + 0x14], eax
test esi, esi
je 0x4866d8
mov ecx, dword [esi]
test ecx, ecx
jne 0x48658e
xor esi, esi
mov dword [esp + 0x74], esi
test eax, eax
jne 0x4865a0
push dword [esp + 0x18]
call fcn.00406fa0
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x486575
mov esi, dword [esp + 0x70]
mov esi, dword [esi + 0x18]
xorps xmm0, xmm0
xor ebp, ebp
mov dword [esp + 0x74], 0
push esi
xor ebx, ebx
mov dword [esp + 0x6c], ebp
movups xmmword [esp + 0x4c], xmm0
movups xmmword [esp + 0x5c], xmm0
call fcn.00406fa0
add esp, 4
mov dword [esp + 0x18], eax
test esi, esi
je 0x48693d
mov esi, dword [esi + 0x10]
mov ecx, dword [esi]
test ecx, ecx
je 0x486926
test esi, esi
je 0x486926
xor edi, edi
cmp dword [ecx], edi
cmovne edi, ecx
mov cl, byte [0x51a95c]
nop dword [eax]
cmp dword [esi + 0xc], 4
jne 0x486900
mov eax, dword [esi + 0x18]
cmp eax, 0x2b
je 0x48689a
cmp eax, 0x122
jne 0x486900
cmp dword [esp + 0x74], 0
jne 0x486810
mov ebx, dword [esp + 0x70]
push str.PatchConstInvocId
push 0x52b884
push ebx
call fcn.00409810
push ebx
mov dword [esp + 0x84], eax
call fcn.004869a0
push 0
push dword [esp + 0x40]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
call fcn.00407c70
mov ebx, eax
add esp, 0x18
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
and ecx, 0x3ffff
mov dword [ebx + 0x1c], ecx
mov ecx, dword [eax + 8]
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x38], 0xe
jne 0x4867f0
mov eax, dword [eax + 0x148]
jmp 0x4867f5
mov eax, 0x20
push eax
push 1
lea eax, [ebx + 0x48]
push eax
push ebx
call fcn.00407af0
lea eax, [esp + 0x30]
push ebx
push eax
call fcn.0041d130
add esp, 0x18
test ebp, ebp
jne 0x486888
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0xc]
cmp dword [eax + 8], 3
jne 0x486827
lea edx, [ebp + 2]
mov eax, esi
jmp 0x486861
mov eax, dword [ecx + 0xc]
mov ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 4], eax
cmove ecx, eax
mov eax, dword [ecx + 0xc]
cmp dword [eax + 8], 3
jne 0x486827
lea eax, [ecx + 0x18]
cmp dword [ecx + 0x10], eax
je 0x48685a
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x48685a
cmp dword [eax + 0xc], 6
jne 0x48685a
mov edx, 2
jmp 0x486861
mov edx, 1
mov eax, ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x48]
push ebx
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x58], edx
push eax
mov dword [esp + 0x2c], edx
call fcn.00486bc0
mov ebp, dword [esp + 0x74]
add esp, 0xc
push dword [esp + 0x4c]
lea eax, [esi + 0x1c]
push eax
call fcn.00407b40
add esp, 8
jmp 0x4868fa
movzx eax, cl
test byte [esi + eax*4 + 0x30], 8
je 0x486900
mov dword [esp + 0x58], 2
mov dword [esp + 0x5c], esi
test ebp, ebp
je 0x4868f1
push esi
push 2
push dword [esp + 0x5c]
lea eax, [esp + 0x40]
push dword [esp + 0x5c]
push eax
call fcn.00412540
push dword [esp + 0x78]
lea eax, [esp + 0x4c]
push dword [esp + 0x78]
push eax
call fcn.00412800
add esp, 0x20
xorps xmm0, xmm0
xor ebp, ebp
movups xmmword [esp + 0x48], xmm0
mov dword [esp + 0x68], ebp
movups xmmword [esp + 0x58], xmm0
push esi
call fcn.00409250
add esp, 4
mov cl, byte [0x51a95c]
mov esi, edi
test edi, edi
je 0x486918
mov eax, dword [edi]
test eax, eax
je 0x486918
xor edi, edi
cmp dword [eax], edi
cmovne edi, eax
jmp 0x486760
xor edi, edi
test esi, esi
jne 0x486760
mov eax, dword [esp + 0x18]
push eax
mov esi, eax
call fcn.00406fa0
add esp, 4
mov dword [esp + 0x18], eax
test esi, esi
jne 0x486737
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x24]
lea eax, [ecx + 0x18]
cmp dword [ecx + 0x10], eax
je 0x486960
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x486960
cmp dword [eax + 0xc], 6
jne 0x486960
mov edx, 2
jmp 0x486967
mov edx, 1
mov eax, ecx
pop edi
pop esi
test ebp, ebp
pop ebp
pop ebx
je 0x486998
push eax
push edx
push dword [esp + 0x4c]
lea eax, [esp + 0x30]
push dword [esp + 0x4c]
push eax
call fcn.00412540
push dword [esp + 0x68]
lea eax, [esp + 0x3c]
push dword [esp + 0x68]
push eax
call fcn.00412800
add esp, 0x20
add esp, 0x5c
ret