Function at 0x4a6b15
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 0x4a6b56
push edx
push str.at_most__d_tables_in_a_join
push edi
call fcn.0046819d
add esp, 0xc
jmp 0x4a715c
mov ecx, dword [ebp + 0x14]
and ecx, edx
mov dword [esp + 0x8c], ecx
je 0x4a6b69
xor eax, eax
inc eax
jmp 0x4a6b6a
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.0046650f
mov ebx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
cmp byte [eax + 0x36], 0
je 0x4a6ba6
mov edx, ebx
mov ecx, eax
call fcn.00466366
jmp 0x4a715c
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.0047ad8e
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.00548bf0
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov edx, edi
push dword [ebp + 0x14]
push dword [esp + 0x4c]
call fcn.004a29b5
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.0048a3f8
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x20]
push 0x45
call fcn.004a2b2b
add esp, 0xc
cmp dword [ebp + 8], esi
je 0x4a6c69
cmp dword [esp + 0x14], esi
je 0x4a6c58
mov ecx, dword [ebp + 8]
push 3
pop edx
call fcn.0048867c
test eax, eax
je 0x4a6c69
mov edx, dword [ebp + 8]
mov ecx, edi
push 8
push dword [ebx + 0x18]
call fcn.0048a80f
pop ecx
pop ecx
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp cx, word [eax]
jge 0x4a6ce3
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 0x4a6cc8
test byte [eax + 0x22], 0x10
je 0x4a6cc8
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 0x4a6c7d
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.004a2f52
mov edx, dword [esp + 0x20]
cmp byte [edx + 0x36], 0
jne 0x4a7144
mov eax, dword [esp + 0x78]
mov dword [esp + 0x7c], eax
test eax, eax
je 0x4a6d2d
mov edx, dword [esp + 0x10]
mov ecx, edi
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x84], eax
call fcn.004a3fd3
pop ecx
pop ecx
test eax, eax
je 0x4a6d2d
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 0x4a7168
movsd xmm1, qword [0x609cd0]
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 0x4a7036
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 0x4a7027
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 0x4a6e24
test al, al
jne 0x4a7023
mov edx, dword [edx + 0x20]
mov ecx, dword [esp + 0x48]
call fcn.004a2b68
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 0x4a6e63
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 0x4a6ffc
cmp dword [esp + 0x6c], ebx
je 0x4a6e71
mov esi, dword [esp + 0x64]
mov edx, eax
jmp 0x4a6e75
mov esi, dword [esp + 0x38]
cmp dword [esp + 0x70], ebx
jne 0x4a6e86
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4a6e86
mov ecx, dword [eax]
jmp 0x4a6e88
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 0x4a6ed4
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.004a4c3d
jmp 0x4a6efe
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.004a4e74
mov edx, dword [esp + 0x78]
add esp, 0x20
mov esi, dword [esp + 0x64]
cmp dword [esp + 0x6c], ebx
je 0x4a6f24
test dword [esp + 0xb8], 0x100f3000
jne 0x4a6f24
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 0x4a6fe9
mov ecx, dword [esp + 0xc]
test ecx, ecx
js 0x4a6f70
and edx, dword [esp + 0x5c]
and esi, dword [esp + 0x3c]
or edx, esi
jne 0x4a6f70
test dword [esp + 0x90], 0x100f3000
je 0x4a6f70
test dword [esp + 0xb8], 0x100f3000
je 0x4a6fe9
cmp dword [esp + 0x68], ebx
je 0x4a6f8c
mov eax, dword [esp + 0x34]
cmp dword [eax + 0x3c], ebx
je 0x4a6f8c
test dword [esp + 0xb8], 0x100f3000
je 0x4a6fe9
test ecx, ecx
js 0x4a6fba
movsd xmm1, qword [esp + 0xa8]
comisd xmm1, xmmword [esp + 0xd0]
ja 0x4a6fba
movsd xmm0, qword [esp + 0x80]
jb 0x4a6ff2
comisd xmm0, xmmword [esp + 0xc0]
jbe 0x4a6ff2
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 0x4a6ff6
movsd xmm0, qword [esp + 0x80]
mov esi, dword [esp + 0x1c]
cmp byte [esp + 0x33], bl
jne 0x4a701f
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 0x4a6e0d
jmp 0x4a7023
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
sub dword [esp + 0x6c], 1
mov edx, dword [esp + 0x40]
jns 0x4a6dd0
mov edx, dword [esp + 0x90]
test edx, 0x1000000
je 0x4a7050
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4a7050
xor eax, eax
mov dword [ecx], eax
test edx, 0x40000000
je 0x4a705c
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 0x4a70a8
cmp word [esp + 0x8c], 0
je 0x4a7095
test edx, 0x20000000
jne 0x4a7095
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x20], ecx
jmp 0x4a70ac
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 0x4a70b0
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.004a2b68
mov ecx, dword [esp + 0x74]
not eax
and dword [esp + 0x4c], eax
not edx
and dword [esp + 0x38], edx
comisd xmm0, xmmword [0x609bc8]
mov eax, dword [esp + 0xc]
mov byte [ecx + 0x34], al
jb 0x4a70f9
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 0x4a7112
test dword [esp + 0x90], 0xf0000
je 0x4a7134
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 0x4a7165
or edx, 0xffffffff
jmp 0x4a6d5f
push dword [eax]
push str.cannot_use_index:__s
push edi
call fcn.0046819d
add esp, 0xc
movsd xmm0, qword [ebx + 0x28]
mov edx, ebx
mov ecx, dword [esp + 0x20]
movsd qword [edi + 0x1b8], xmm0
call fcn.004a6a7f
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 0x4a7144
mov edx, dword [esp + 0x20]
cmp byte [edx + 0x36], 0
jne 0x4a7144
mov ecx, dword [esp + 0x50]
and ecx, 0x4000000
mov dword [esp + 0x50], ecx
je 0x4a7194
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4a7190
mov dword [ecx], esi
mov ecx, dword [esp + 0x50]
test byte [ebp + 0x14], 4
je 0x4a71a8
test ecx, ecx
je 0x4a71a8
mov byte [ebx + 6], 1
and dword [eax], 0xff7fffff
or edx, 0xffffffff
mov ecx, edi
call fcn.00490875
movsd xmm0, qword [0x609bc8]
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 0x4a7392
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.00499a90
mov ecx, dword [esp + 0x24]
mov edx, eax
mov dword [esp + 0x5c], edx
test byte [ecx + 0x22], 2
jne 0x4a72f2
cmp dword [ecx + 0x1c], esi
jne 0x4a72f2
mov eax, dword [esp + 0x60]
test dword [eax], 0x8000000
je 0x4a7276
mov edx, ecx
mov ecx, dword [esp + 0x20]
call fcn.004a1b30
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.0047ac6a
mov ecx, dword [esp + 0x60]
add esp, 0xc
mov edx, eax
push 0xfffffffffffffff6
jmp 0x4a72d8
test dword [eax], 0x800000
jne 0x4a72e2
test byte [ebp + 0x14], 0x10
jne 0x4a72e2
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.00494a05
add esp, 0xc
cmp byte [ebx + 6], 0
jne 0x4a72f2
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 8], 0x40
jge 0x4a72f2
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x30]
mov ecx, dword [eax + 0x34]
jmp 0x4a72c6
shrd edx, ecx, 1
shr ecx, 1
inc esi
mov eax, edx
or eax, ecx
jne 0x4a72bf
mov eax, dword [esp + 0x54]
mov ecx, eax
push 0xfffffffffffffff2
mov edx, dword [eax + 0x1c]
dec edx
push esi
call fcn.0047b19d
pop ecx
pop ecx
jmp 0x4a72f2
push dword [ecx]
push esi
push dword [ecx + 0x14]
mov ecx, edi
call fcn.0048d251
add esp, 0xc
mov esi, dword [esp + 0x60]
test dword [esi], 0x20000000
je 0x4a731b
mov edx, dword [esp + 0x18]
mov ecx, edi
push esi
push dword [esp + 0x40]
push dword [esp + 0x30]
push dword [esp + 0x18]
call fcn.004a467b
add esp, 0x10
jmp 0x4a734f
test dword [esi], 0xf0000
je 0x4a734f
mov esi, dword [esi + 0x10]
mov ecx, edi
mov edx, esi
call fcn.00490c04
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.0047acf0
add esp, 0x14
mov edx, dword [esp + 0x5c]
mov ecx, edi
call fcn.00490875
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
call fcn.004a2b68
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 0x4a71da
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 0x4a7144
or dword [esp + 0x24], 0xffffffff
test ecx, ecx
jle 0x4a740b
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.004a5aa4
push dword [esp + 0x34]
mov edx, esi
mov ecx, ebx
push dword [esp + 0x8c]
push dword [ebp + 0x14]
call fcn.004a5cf8
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 0x4a73ba
mov eax, ebx
jmp 0x4a715e