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

Disassembly:
sub esp, 0x64
xor ecx, ecx
xor edx, edx
push ebx
push ebp
mov ebp, dword [esp + 0x70]
push esi
push edi
mov eax, dword [ebp + 0x168]
cmp dword [eax], ecx
cmove eax, edx
test eax, eax
je 0x48a9f9
nop
cmp byte [eax + 0x1c], dl
cmovne ecx, eax
mov eax, dword [eax]
cmp dword [eax], edx
je 0x48a9f0
test eax, eax
jne 0x48a9e0
test ecx, ecx
je 0x48a9f9
mov ebx, dword [ecx + 0x18]
jmp 0x48a9fb
xor ebx, ebx
push str.PatchConstantFunc
push ebp
call fcn.00408470
mov esi, dword [esp + 0x84]
push ebx
push ebp
mov dword [esi], eax
call fcn.0045a7d0
mov ecx, dword [esi]
add esp, 0x10
mov esi, eax
mov dword [esp + 0x78], eax
mov dword [ecx + 0x18], esi
mov dword [esi + 0x10], ecx
mov edi, dword [ebx + 0x18]
test edi, edi
je 0x48aaa3
nop
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
test eax, eax
je 0x48aa90
test ecx, ecx
je 0x48aa90
mov dl, byte [0x52498c]
xor esi, esi
cmp dword [eax], esi
cmovne esi, eax
nop word [eax + eax]
cmp dword [ecx + 0xc], 4
jne 0x48aa7e
mov eax, dword [ecx + 0x18]
cmp eax, 0x263
je 0x48aa6f
cmp eax, 0x2d
jne 0x48aa7e
movzx eax, dl
test byte [ecx + eax*4 + 0x30], 8
je 0x48aa7e
push ecx
call fcn.00409630
mov dl, byte [0x52498c]
add esp, 4
mov ecx, esi
test esi, esi
je 0x48aa8a
mov eax, dword [esi]
test eax, eax
jne 0x48aa43
xor esi, esi
test ecx, ecx
jne 0x48aa50
push edi
call fcn.004073c0
mov edi, eax
add esp, 4
test edi, edi
jne 0x48aa30
mov esi, dword [esp + 0x78]
push 3
push ebx
call fcn.0040bea0
push esi
call fcn.0048af60
add esp, 0xc
push ebp
call fcn.004af940
push ebp
mov bl, al
call fcn.0041d640
add esp, 8
test bl, bl
setne cl
or al, cl
jne 0x48aab4
mov eax, dword [esi + 0x10]
xorps xmm0, xmm0
movq qword [esp + 0x30], xmm0
mov dword [esp + 0x34], esi
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], eax
movups xmmword [esp + 0x38], xmm0
movq xmm0, qword [esp + 0x30]
movq qword [esp + 0x48], xmm0
mov eax, dword [esi + 0x18]
mov dword [esp + 0x18], eax
test eax, eax
je 0x48ac92
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x48ac76
test eax, eax
je 0x48ac76
xor esi, esi
cmp dword [ecx], esi
cmovne esi, ecx
mov dword [esp + 0x7c], esi
nop dword [eax]
cmp dword [eax + 0xc], 4
jne 0x48ac54
cmp dword [eax + 0x18], 0x139
jne 0x48ac54
mov ecx, dword [eax + 0x24]
lea edx, [eax + 0x20]
mov dword [esp + 0x1c], edx
cmp ecx, edx
je 0x48ac54
test ecx, ecx
je 0x48ab66
cmp dword [ecx + 4], edx
je 0x48ac54
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 0x48ac4b
nop
mov eax, dword [ebx]
test al, 1
je 0x48ab99
and eax, 0xfffffffe
xor ecx, ecx
mov eax, dword [eax + 4]
lea edx, [ecx + 1]
cmp dword [eax + 4], ecx
cmove eax, ecx
jmp 0x48abc5
cmp dword [eax + 0xc], 8
jne 0x48abc0
mov ecx, dword [ebx - 4]
lea eax, [ecx + 0x18]
cmp dword [ecx + 0x10], eax
je 0x48abb7
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x48abb7
cmp dword [eax + 0xc], 6
je 0x48abc0
mov edx, 1
mov eax, ecx
jmp 0x48abc5
mov edx, 2
push 0x139
push dword [esp + 0x4c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
call fcn.00409a10
mov esi, eax
push 0x20
push 1
lea edi, [esi + 0x1c]
push edi
push esi
call fcn.00407ec0
lea eax, [esp + 0x50]
push esi
push eax
call fcn.0041dbe0
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 0x48ab80
mov esi, dword [esp + 0x7c]
mov eax, dword [esp + 0x14]
push eax
call fcn.00409630
add esp, 4
mov eax, esi
mov dword [esp + 0x14], eax
test esi, esi
je 0x48ac68
mov ecx, dword [esi]
test ecx, ecx
jne 0x48ab1e
xor esi, esi
mov dword [esp + 0x7c], esi
test eax, eax
jne 0x48ab30
push dword [esp + 0x18]
call fcn.004073c0
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x48ab05
mov esi, dword [esp + 0x78]
mov esi, dword [esi + 0x18]
xorps xmm0, xmm0
xor ebp, ebp
mov dword [esp + 0x7c], 0
push esi
xor edi, edi
mov dword [esp + 0x74], ebp
movups xmmword [esp + 0x54], xmm0
movups xmmword [esp + 0x64], xmm0
call fcn.004073c0
add esp, 4
mov dword [esp + 0x18], eax
test esi, esi
je 0x48aefc
mov esi, dword [esi + 0x10]
mov ecx, dword [esi]
test ecx, ecx
je 0x48aee5
test esi, esi
je 0x48aee5
xor ebx, ebx
cmp dword [ecx], ebx
cmovne ebx, ecx
mov cl, byte [0x52498c]
nop dword [eax]
cmp dword [esi + 0xc], 4
jne 0x48aebf
mov eax, dword [esi + 0x18]
cmp eax, 0x2d
je 0x48ae53
cmp eax, 0x139
jne 0x48aebf
cmp dword [esp + 0x7c], 0
jne 0x48adc6
mov edi, dword [esp + 0x78]
push str.PatchConstInvocId
push 0x536dd4
push edi
call fcn.00409c20
mov edx, dword [edi + 0x18]
lea ecx, [edi + 0x20]
xor edi, edi
mov dword [esp + 0x88], eax
add esp, 0xc
cmp edx, ecx
cmovne edi, edx
cmp dword [edi + 8], 0
jne 0x48ad51
xor eax, eax
jmp 0x48ad63
mov eax, dword [edi + 4]
xor ecx, ecx
mov edi, eax
cmp dword [eax + 4], ecx
mov eax, 1
cmove edi, ecx
push 0
push dword [esp + 0x4c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edi
call fcn.00408040
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x10]
and ecx, 0x3ffff
mov dword [edi + 0x1c], ecx
mov ecx, dword [eax + 8]
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x48]
cmp byte [eax + 0x44], 0xe
jne 0x48ada6
mov eax, dword [eax + 0x150]
jmp 0x48adab
mov eax, 0x20
push eax
push 1
lea eax, [edi + 0x48]
push eax
push edi
call fcn.00407ec0
lea eax, [esp + 0x48]
push edi
push eax
call fcn.0041dbe0
add esp, 0x18
test ebp, ebp
jne 0x48ae41
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0xc]
cmp dword [eax + 8], 3
jne 0x48ade0
lea edx, [ebp + 2]
mov eax, esi
jmp 0x48ae1a
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 0x48ade0
lea eax, [ecx + 0x18]
cmp dword [ecx + 0x10], eax
je 0x48ae13
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x48ae13
cmp dword [eax + 0xc], 6
jne 0x48ae13
mov edx, 2
jmp 0x48ae1a
mov edx, 1
mov eax, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x50]
push edi
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x60], edx
push eax
mov dword [esp + 0x44], edx
call fcn.0048b150
mov ebp, dword [esp + 0x7c]
add esp, 0xc
push dword [esp + 0x54]
lea eax, [esi + 0x1c]
push eax
call fcn.00407f10
add esp, 8
jmp 0x48aeb9
movzx eax, cl
test byte [esi + eax*4 + 0x30], 8
je 0x48aebf
mov dword [esp + 0x60], 2
mov dword [esp + 0x64], esi
test ebp, ebp
je 0x48aeb0
push esi
push 2
push dword [esp + 0x64]
lea eax, [esp + 0x2c]
push dword [esp + 0x64]
push eax
call fcn.00412c60
push dword [esp + 0x80]
lea eax, [esp + 0x38]
push dword [esp + 0x80]
push eax
call fcn.00412f20
add esp, 0x20
xorps xmm0, xmm0
xor ebp, ebp
movups xmmword [esp + 0x50], xmm0
mov dword [esp + 0x70], ebp
movups xmmword [esp + 0x60], xmm0
push esi
call fcn.00409630
add esp, 4
mov cl, byte [0x52498c]
mov esi, ebx
test ebx, ebx
je 0x48aed7
mov eax, dword [ebx]
test eax, eax
je 0x48aed7
xor ebx, ebx
cmp dword [eax], ebx
cmovne ebx, eax
jmp 0x48acf0
xor ebx, ebx
test esi, esi
jne 0x48acf0
mov eax, dword [esp + 0x18]
push eax
mov esi, eax
call fcn.004073c0
add esp, 4
mov dword [esp + 0x18], eax
test esi, esi
jne 0x48acc7
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x24]
lea eax, [ecx + 0x18]
cmp dword [ecx + 0x10], eax
je 0x48af1f
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x48af1f
cmp dword [eax + 0xc], 6
jne 0x48af1f
mov edx, 2
jmp 0x48af26
mov edx, 1
mov eax, ecx
pop edi
pop esi
test ebp, ebp
pop ebp
pop ebx
je 0x48af57
push eax
push edx
push dword [esp + 0x54]
lea eax, [esp + 0x1c]
push dword [esp + 0x54]
push eax
call fcn.00412c60
push dword [esp + 0x70]
lea eax, [esp + 0x28]
push dword [esp + 0x70]
push eax
call fcn.00412f20
add esp, 0x20
add esp, 0x64
ret