Function at 0x48aa90
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 0x48aac9
nop
cmp byte [eax + 0x1c], dl
cmovne ecx, eax
mov eax, dword [eax]
cmp dword [eax], edx
je 0x48aac0
test eax, eax
jne 0x48aab0
test ecx, ecx
je 0x48aac9
mov ebx, dword [ecx + 0x18]
jmp 0x48aacb
xor ebx, ebx
push str.PatchConstantFunc
push ebp
call fcn.00408490
mov esi, dword [esp + 0x84]
push ebx
push ebp
mov dword [esi], eax
call fcn.0045a820
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 0x48ab73
nop
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
test eax, eax
je 0x48ab60
test ecx, ecx
je 0x48ab60
mov dl, byte [0x5249e4]
xor esi, esi
cmp dword [eax], esi
cmovne esi, eax
nop word [eax + eax]
cmp dword [ecx + 0xc], 4
jne 0x48ab4e
mov eax, dword [ecx + 0x18]
cmp eax, 0x264
je 0x48ab3f
cmp eax, 0x2d
jne 0x48ab4e
movzx eax, dl
test byte [ecx + eax*4 + 0x30], 8
je 0x48ab4e
push ecx
call fcn.00409650
mov dl, byte [0x5249e4]
add esp, 4
mov ecx, esi
test esi, esi
je 0x48ab5a
mov eax, dword [esi]
test eax, eax
jne 0x48ab13
xor esi, esi
test ecx, ecx
jne 0x48ab20
push edi
call fcn.004073e0
mov edi, eax
add esp, 4
test edi, edi
jne 0x48ab00
mov esi, dword [esp + 0x78]
push 3
push ebx
call fcn.0040bec0
push esi
call fcn.0048b030
add esp, 0xc
push ebp
call fcn.004af9f0
push ebp
mov bl, al
call fcn.0041d680
add esp, 8
test bl, bl
setne cl
or al, cl
jne 0x48ab84
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 0x48ad62
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x48ad46
test eax, eax
je 0x48ad46
xor esi, esi
cmp dword [ecx], esi
cmovne esi, ecx
mov dword [esp + 0x7c], esi
nop dword [eax]
cmp dword [eax + 0xc], 4
jne 0x48ad24
cmp dword [eax + 0x18], 0x13a
jne 0x48ad24
mov ecx, dword [eax + 0x24]
lea edx, [eax + 0x20]
mov dword [esp + 0x1c], edx
cmp ecx, edx
je 0x48ad24
test ecx, ecx
je 0x48ac36
cmp dword [ecx + 4], edx
je 0x48ad24
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 0x48ad1b
nop
mov eax, dword [ebx]
test al, 1
je 0x48ac69
and eax, 0xfffffffe
xor ecx, ecx
mov eax, dword [eax + 4]
lea edx, [ecx + 1]
cmp dword [eax + 4], ecx
cmove eax, ecx
jmp 0x48ac95
cmp dword [eax + 0xc], 8
jne 0x48ac90
mov ecx, dword [ebx - 4]
lea eax, [ecx + 0x18]
cmp dword [ecx + 0x10], eax
je 0x48ac87
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x48ac87
cmp dword [eax + 0xc], 6
je 0x48ac90
mov edx, 1
mov eax, ecx
jmp 0x48ac95
mov edx, 2
push 0x13a
push dword [esp + 0x4c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
call fcn.00409a30
mov esi, eax
push 0x20
push 1
lea edi, [esi + 0x1c]
push edi
push esi
call fcn.00407ee0
lea eax, [esp + 0x50]
push esi
push eax
call fcn.0041dc20
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 0x48ac50
mov esi, dword [esp + 0x7c]
mov eax, dword [esp + 0x14]
push eax
call fcn.00409650
add esp, 4
mov eax, esi
mov dword [esp + 0x14], eax
test esi, esi
je 0x48ad38
mov ecx, dword [esi]
test ecx, ecx
jne 0x48abee
xor esi, esi
mov dword [esp + 0x7c], esi
test eax, eax
jne 0x48ac00
push dword [esp + 0x18]
call fcn.004073e0
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x48abd5
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.004073e0
add esp, 4
mov dword [esp + 0x18], eax
test esi, esi
je 0x48afcc
mov esi, dword [esi + 0x10]
mov ecx, dword [esi]
test ecx, ecx
je 0x48afb5
test esi, esi
je 0x48afb5
xor ebx, ebx
cmp dword [ecx], ebx
cmovne ebx, ecx
mov cl, byte [0x5249e4]
nop dword [eax]
cmp dword [esi + 0xc], 4
jne 0x48af8f
mov eax, dword [esi + 0x18]
cmp eax, 0x2d
je 0x48af23
cmp eax, 0x13a
jne 0x48af8f
cmp dword [esp + 0x7c], 0
jne 0x48ae96
mov edi, dword [esp + 0x78]
push str.PatchConstInvocId
push 0x536e94
push edi
call fcn.00409c40
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 0x48ae21
xor eax, eax
jmp 0x48ae33
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.00408060
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 0x48ae76
mov eax, dword [eax + 0x150]
jmp 0x48ae7b
mov eax, 0x20
push eax
push 1
lea eax, [edi + 0x48]
push eax
push edi
call fcn.00407ee0
lea eax, [esp + 0x48]
push edi
push eax
call fcn.0041dc20
add esp, 0x18
test ebp, ebp
jne 0x48af11
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0xc]
cmp dword [eax + 8], 3
jne 0x48aeb0
lea edx, [ebp + 2]
mov eax, esi
jmp 0x48aeea
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 0x48aeb0
lea eax, [ecx + 0x18]
cmp dword [ecx + 0x10], eax
je 0x48aee3
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x48aee3
cmp dword [eax + 0xc], 6
jne 0x48aee3
mov edx, 2
jmp 0x48aeea
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.0048b220
mov ebp, dword [esp + 0x7c]
add esp, 0xc
push dword [esp + 0x54]
lea eax, [esi + 0x1c]
push eax
call fcn.00407f30
add esp, 8
jmp 0x48af89
movzx eax, cl
test byte [esi + eax*4 + 0x30], 8
je 0x48af8f
mov dword [esp + 0x60], 2
mov dword [esp + 0x64], esi
test ebp, ebp
je 0x48af80
push esi
push 2
push dword [esp + 0x64]
lea eax, [esp + 0x2c]
push dword [esp + 0x64]
push eax
call fcn.00412c90
push dword [esp + 0x80]
lea eax, [esp + 0x38]
push dword [esp + 0x80]
push eax
call fcn.00412f50
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.00409650
add esp, 4
mov cl, byte [0x5249e4]
mov esi, ebx
test ebx, ebx
je 0x48afa7
mov eax, dword [ebx]
test eax, eax
je 0x48afa7
xor ebx, ebx
cmp dword [eax], ebx
cmovne ebx, eax
jmp 0x48adc0
xor ebx, ebx
test esi, esi
jne 0x48adc0
mov eax, dword [esp + 0x18]
push eax
mov esi, eax
call fcn.004073e0
add esp, 4
mov dword [esp + 0x18], eax
test esi, esi
jne 0x48ad97
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x24]
lea eax, [ecx + 0x18]
cmp dword [ecx + 0x10], eax
je 0x48afef
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x48afef
cmp dword [eax + 0xc], 6
jne 0x48afef
mov edx, 2
jmp 0x48aff6
mov edx, 1
mov eax, ecx
pop edi
pop esi
test ebp, ebp
pop ebp
pop ebx
je 0x48b027
push eax
push edx
push dword [esp + 0x54]
lea eax, [esp + 0x1c]
push dword [esp + 0x54]
push eax
call fcn.00412c90
push dword [esp + 0x70]
lea eax, [esp + 0x28]
push dword [esp + 0x70]
push eax
call fcn.00412f50
add esp, 0x20
add esp, 0x64
ret