Function at 0x4a686c
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
push ebx
push esi
mov eax, edx
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
push 0x40
movzx eax, word [eax]
pop edx
mov ecx, dword [edi + 8]
mov dword [esp + 0x44], edi
mov dword [esp + 0x54], ecx
cmp ax, dx
jle 0x4a68ad
push edx
push str.at_most__d_tables_in_a_join
push edi
call fcn.00467ef4
add esp, 0xc
jmp 0x4a6eb3
mov ecx, dword [ebp + 0x14]
and ecx, edx
mov dword [esp + 0x8c], ecx
je 0x4a68c0
xor eax, eax
inc eax
jmp 0x4a68c1
cwde
mov ecx, dword [edi]
imul esi, eax, 0x50
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
add esi, 0x3f
and esi, 0xfffffff8
lea edx, [esi + 0x26c]
call fcn.00466266
mov ebx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
cmp byte [eax + 0x36], 0
je 0x4a68fd
mov edx, ebx
mov ecx, eax
call fcn.004660bd
jmp 0x4a6eb3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [ebx], edi
mov dword [ebx + 0xc], eax
call fcn.0047aae8
mov ecx, dword [ebp + 0x14]
mov dword [ebx + 0x18], eax
lea eax, [ebx + esi]
mov dword [ebx + 0x20], eax
mov word [ebx + 4], cx
lea ecx, [eax + 0x168]
movsd xmm0, qword [edi + 0x1b8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push 0
movsd qword [ebx + 0x28], xmm0
mov dword [esp + 0x4c], ecx
test byte [eax + 0x18], 0x80
pop eax
cmove eax, dword [ebp + 0x10]
xor esi, esi
push 0x104
push esi
push ecx
mov dword [esp + 0x84], eax
call fcn.00573610
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov edx, edi
push dword [ebp + 0x14]
push dword [esp + 0x4c]
call fcn.004a270c
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.0048a14f
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x20]
push 0x45
call fcn.004a2882
add esp, 0xc
cmp dword [ebp + 8], esi
je 0x4a69c0
cmp dword [esp + 0x14], esi
je 0x4a69af
mov ecx, dword [ebp + 8]
push 3
pop edx
call fcn.004883d3
test eax, eax
je 0x4a69c0
mov edx, dword [ebp + 8]
mov ecx, edi
push 8
push dword [ebx + 0x18]
call fcn.0048a566
pop ecx
pop ecx
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp cx, word [eax]
jge 0x4a6a3a
lea edx, [eax + 0x14]
mov ebx, esi
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x48]
mov ecx, dword [eax]
mov eax, dword [edx + 0x14]
mov dword [edi + ecx*4 + 4], eax
mov eax, edi
mov edi, dword [esp + 0x10]
inc dword [eax]
mov eax, dword [edx]
test eax, eax
je 0x4a6a1f
test byte [eax + 0x22], 0x10
je 0x4a6a1f
xor ecx, ecx
lea eax, [esi + ebx]
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [esp + 0x18]
cmovae edx, ecx
or dword [eax + 8], ecx
or dword [eax + 0xc], edx
mov edx, dword [esp + 0x28]
movsx eax, word [edi]
inc ebx
add edx, 0x40
mov dword [esp + 0x28], edx
cmp ebx, eax
jl 0x4a69d4
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, eax
call fcn.004a2ca9
mov edx, dword [esp + 0x20]
cmp byte [edx + 0x36], 0
jne 0x4a6e9b
mov eax, dword [esp + 0x78]
mov dword [esp + 0x7c], eax
test eax, eax
je 0x4a6a84
mov edx, dword [esp + 0x10]
mov ecx, edi
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x84], eax
call fcn.004a3d2a
pop ecx
pop ecx
test eax, eax
je 0x4a6a84
mov dword [esp + 0x7c], esi
mov byte [ebx + 8], 1
mov ecx, dword [esp + 0x14]
lea eax, [ebx + 0x38]
or edx, 0xffffffff
mov dword [esp + 0x40], esi
mov dword [esp + 0x78], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x70], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x74], eax
test ecx, ecx
jle 0x4a6ebf
movsd xmm1, qword [0x61d528]
xor eax, eax
mov dword [esp + 0x68], esi
xorps xmm0, xmm0
mov dword [esp + 0xc], edx
lea esi, [ecx - 1]
mov edx, dword [esp + 0x40]
cmp edx, esi
movlpd qword [esp + 0x28], xmm0
setl al
movlpd qword [esp + 0x90], xmm0
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x2c]
movlpd qword [esp + 0x98], xmm0
movlpd qword [esp + 0xa0], xmm0
movsd xmm0, qword [esp + 0x98]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
movsd qword [esp + 0xa8], xmm1
movsd qword [esp + 0x80], xmm0
mov dword [esp + 0x5c], eax
cmp dword [esp + 0xc], 0
jge 0x4a6d8d
mov esi, edx
mov eax, edx
mov edx, dword [esp + 0x10]
shl eax, 6
add edx, 8
add edx, eax
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x34], edx
cmp eax, ecx
jge 0x4a6d7e
imul eax, eax, 0x50
sub eax, 0xffffff80
add eax, ebx
xor ebx, ebx
mov dword [esp + 0x28], eax
mov al, byte [edx + 0x1c]
and al, 0xa
mov byte [esp + 0x33], al
cmp esi, dword [esp + 0x40]
je 0x4a6b7b
test al, al
jne 0x4a6d7a
mov edx, dword [edx + 0x20]
mov ecx, dword [esp + 0x48]
call fcn.004a28bf
mov ecx, edx
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x4c]
mov esi, eax
mov dword [esp + 0x64], ecx
and esi, edx
and ecx, dword [esp + 0x38]
or esi, ecx
jne 0x4a6bba
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x1c]
cmp esi, ecx
lea eax, [ecx + 1]
cmovne eax, ecx
mov dword [esp + 0x40], eax
jmp 0x4a6d53
cmp dword [esp + 0x6c], ebx
je 0x4a6bc8
mov esi, dword [esp + 0x64]
mov edx, eax
jmp 0x4a6bcc
mov esi, dword [esp + 0x38]
cmp dword [esp + 0x70], ebx
jne 0x4a6bdd
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4a6bdd
mov ecx, dword [eax]
jmp 0x4a6bdf
mov ecx, ebx
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x68]
inc eax
cmp dword [edi + 0x3c], ebx
cmovne eax, dword [esp + 0x68]
mov dword [esp + 0x68], eax
mov eax, edi
mov edi, dword [esp + 0x44]
mov eax, dword [eax + 0xc]
test byte [eax + 0x22], 0x10
lea eax, [esp + 0xb8]
je 0x4a6c2b
push dword [esp + 0x28]
push eax
push ecx
push dword [esp + 0x44]
mov ecx, edi
push dword [esp + 0x5c]
push esi
push edx
push dword [esp + 0x50]
mov edx, dword [esp + 0x38]
call fcn.004a4994
jmp 0x4a6c55
push eax
xor eax, eax
cmp dword [esp + 0x74], eax
cmove eax, dword [esp + 0x80]
push eax
push ecx
push dword [esp + 0x44]
mov ecx, edi
push dword [esp + 0x5c]
push esi
push edx
push dword [esp + 0x50]
mov edx, dword [esp + 0x38]
call fcn.004a4bcb
mov edx, dword [esp + 0x78]
add esp, 0x20
mov esi, dword [esp + 0x64]
cmp dword [esp + 0x6c], ebx
je 0x4a6c7b
test dword [esp + 0xb8], 0x100f3000
jne 0x4a6c7b
or dword [esp + 0x5c], edx
or dword [esp + 0x3c], esi
mov ecx, dword [esp + 0xd8]
mov eax, dword [esp + 0xdc]
and ecx, dword [esp + 0x4c]
and eax, dword [esp + 0x38]
or ecx, eax
jne 0x4a6d40
mov ecx, dword [esp + 0xc]
test ecx, ecx
js 0x4a6cc7
and edx, dword [esp + 0x5c]
and esi, dword [esp + 0x3c]
or edx, esi
jne 0x4a6cc7
test dword [esp + 0x90], 0x100f3000
je 0x4a6cc7
test dword [esp + 0xb8], 0x100f3000
je 0x4a6d40
cmp dword [esp + 0x68], ebx
je 0x4a6ce3
mov eax, dword [esp + 0x34]
cmp dword [eax + 0x3c], ebx
je 0x4a6ce3
test dword [esp + 0xb8], 0x100f3000
je 0x4a6d40
test ecx, ecx
js 0x4a6d11
movsd xmm1, qword [esp + 0xa8]
comisd xmm1, xmmword [esp + 0xd0]
ja 0x4a6d11
movsd xmm0, qword [esp + 0x80]
jb 0x4a6d49
comisd xmm0, xmmword [esp + 0xc0]
jbe 0x4a6d49
push 0xa
pop ecx
lea esi, [esp + 0xb8]
lea edi, [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
movsd xmm0, qword [esp + 0x98]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xc], esi
movsd qword [esp + 0x80], xmm0
jmp 0x4a6d4d
movsd xmm0, qword [esp + 0x80]
mov esi, dword [esp + 0x1c]
cmp byte [esp + 0x33], bl
jne 0x4a6d76
mov edx, dword [esp + 0x34]
inc esi
add dword [esp + 0x28], 0x50
add edx, 0x40
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], edx
cmp esi, ecx
jl 0x4a6b64
jmp 0x4a6d7a
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
sub dword [esp + 0x6c], 1
mov edx, dword [esp + 0x40]
jns 0x4a6b27
mov edx, dword [esp + 0x90]
test edx, 0x1000000
je 0x4a6da7
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4a6da7
xor eax, eax
mov dword [ecx], eax
test edx, 0x40000000
je 0x4a6db3
mov byte [ebx + 8], 2
mov eax, dword [esp + 0x74]
lea esi, [esp + 0x90]
and dword [esp + 0x50], edx
mov edi, eax
push 6
pop ecx
rep movsd dword es:[edi], dword [esi]
test edx, 0x200f0000
je 0x4a6dff
cmp word [esp + 0x8c], 0
je 0x4a6dec
test edx, 0x20000000
jne 0x4a6dec
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x20], ecx
jmp 0x4a6e03
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x74]
mov eax, dword [edi + 0x48]
mov dword [ecx + 0x20], eax
inc dword [edi + 0x48]
jmp 0x4a6e07
or dword [eax + 0x20], 0xffffffff
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
shl esi, 6
mov edx, dword [esi + eax + 0x28]
call fcn.004a28bf
mov ecx, dword [esp + 0x74]
not eax
and dword [esp + 0x4c], eax
not edx
and dword [esp + 0x38], edx
comisd xmm0, xmmword [0x61d428]
mov eax, dword [esp + 0xc]
mov byte [ecx + 0x34], al
jb 0x4a6e50
mulsd xmm0, qword [edi + 0x1b8]
movsd qword [edi + 0x1b8], xmm0
mov eax, dword [esp + 0x10]
mov eax, dword [esi + eax + 0x44]
test eax, eax
je 0x4a6e69
test dword [esp + 0x90], 0xf0000
je 0x4a6e8b
mov eax, dword [esp + 0x70]
add ecx, 0x50
inc eax
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x14]
xor esi, esi
mov dword [esp + 0x70], eax
cmp eax, ecx
jge 0x4a6ebc
or edx, 0xffffffff
jmp 0x4a6ab6
push dword [eax]
push str.cannot_use_index:__s
push edi
call fcn.00467ef4
add esp, 0xc
movsd xmm0, qword [ebx + 0x28]
mov edx, ebx
mov ecx, dword [esp + 0x20]
movsd qword [edi + 0x1b8], xmm0
call fcn.004a67d6
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebx + 0x38]
cmp dword [edi + 0x44], esi
jne 0x4a6e9b
mov edx, dword [esp + 0x20]
cmp byte [edx + 0x36], 0
jne 0x4a6e9b
mov ecx, dword [esp + 0x50]
and ecx, 0x4000000
mov dword [esp + 0x50], ecx
je 0x4a6eeb
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4a6ee7
mov dword [ecx], esi
mov ecx, dword [esp + 0x50]
test byte [ebp + 0x14], 4
je 0x4a6eff
test ecx, ecx
je 0x4a6eff
mov byte [ebx + 6], 1
and dword [eax], 0xff7fffff
or edx, 0xffffffff
mov ecx, edi
call fcn.004905cc
movsd xmm0, qword [0x61d428]
or eax, 0xffffffff
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], eax
movsd qword [ebx + 0x30], xmm0
test ecx, ecx
jle 0x4a70e9
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x10]
add ecx, 8
movzx eax, byte [edx + 0x34]
movsd xmm0, qword [edx + 8]
shl eax, 6
add eax, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x20]
mov dword [edx + 0x1c], eax
mulsd xmm0, qword [ebx + 0x30]
mov dword [esp + 0x24], ecx
movsd qword [ebx + 0x30], xmm0
mov edx, dword [ecx + 0x44]
mov ecx, dword [esp + 0x20]
call fcn.004997e7
mov ecx, dword [esp + 0x24]
mov edx, eax
mov dword [esp + 0x5c], edx
test byte [ecx + 0x22], 2
jne 0x4a7049
cmp dword [ecx + 0x1c], esi
jne 0x4a7049
mov eax, dword [esp + 0x60]
test dword [eax], 0x8000000
je 0x4a6fcd
mov edx, ecx
mov ecx, dword [esp + 0x20]
call fcn.004a1887
mov edx, dword [esp + 0xc]
mov esi, eax
mov ecx, dword [esp + 0x54]
xor eax, eax
push eax
push eax
push dword [edx + 0x20]
mov edx, 0x87
call fcn.0047a9c4
mov ecx, dword [esp + 0x60]
add esp, 0xc
mov edx, eax
push 0xfffffffffffffff6
jmp 0x4a702f
test dword [eax], 0x800000
jne 0x4a7039
test byte [ebp + 0x14], 0x10
jne 0x4a7039
xor eax, eax
cmp byte [ebx + 6], al
setne al
add eax, 0x27
push eax
push ecx
push edx
mov edx, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [edx + 0x20]
call fcn.0049475c
add esp, 0xc
cmp byte [ebx + 6], 0
jne 0x4a7049
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 8], 0x40
jge 0x4a7049
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x30]
mov ecx, dword [eax + 0x34]
jmp 0x4a701d
shrd edx, ecx, 1
shr ecx, 1
inc esi
mov eax, edx
or eax, ecx
jne 0x4a7016
mov eax, dword [esp + 0x54]
mov ecx, eax
push 0xfffffffffffffff2
mov edx, dword [eax + 0x1c]
dec edx
push esi
call fcn.0047aef7
pop ecx
pop ecx
jmp 0x4a7049
push dword [ecx]
push esi
push dword [ecx + 0x14]
mov ecx, edi
call fcn.0048cfa8
add esp, 0xc
mov esi, dword [esp + 0x60]
test dword [esi], 0x20000000
je 0x4a7072
mov edx, dword [esp + 0x18]
mov ecx, edi
push esi
push dword [esp + 0x40]
push dword [esp + 0x30]
push dword [esp + 0x18]
call fcn.004a43d2
add esp, 0x10
jmp 0x4a70a6
test dword [esi], 0xf0000
je 0x4a70a6
mov esi, dword [esi + 0x10]
mov ecx, edi
mov edx, esi
call fcn.0049095b
mov ecx, dword [esp + 0x54]
push 0xfffffffffffffff0
push eax
push dword [esp + 0x64]
push dword [esi + 0x28]
mov esi, dword [esp + 0x70]
push dword [esi + 0x20]
push 0x27
pop edx
call fcn.0047aa4a
add esp, 0x14
mov edx, dword [esp + 0x5c]
mov ecx, edi
call fcn.004905cc
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
call fcn.004a28bf
add esi, 0x50
not eax
and dword [esp + 0x28], eax
not edx
and dword [esp + 0x3c], edx
sub dword [esp + 0x58], 1
push 0
mov dword [esp + 0x64], esi
pop esi
jne 0x4a6f31
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 0x1c]
mov dword [ebx + 0x10], eax
cmp byte [edx + 0x36], 0
jne 0x4a6e9b
or dword [esp + 0x24], 0xffffffff
test ecx, ecx
jle 0x4a7162
lea edx, [ebx + 0x64]
mov dword [esp + 0x28], edx
push dword [ebp + 0x14]
movzx eax, byte [edx + 8]
mov ecx, edi
push eax
lea eax, [edx - 0x2c]
mov edx, dword [esp + 0x18]
push esi
push eax
call fcn.004a57fb
push dword [esp + 0x34]
mov edx, esi
mov ecx, ebx
push dword [esp + 0x8c]
push dword [ebp + 0x14]
call fcn.004a5a4f
mov dword [esp + 0x40], edx
add esp, 0x1c
mov edx, dword [esp + 0x28]
inc esi
mov dword [esp + 0x78], eax
mov ecx, dword [edx]
add edx, 0x50
mov dword [ebx + 0x14], ecx
mov dword [esp + 0x28], edx
cmp esi, dword [esp + 0x14]
jl 0x4a7111
mov eax, ebx
jmp 0x4a6eb5