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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
push ebx
push esi
mov eax, edx
push edi
mov edi, ecx
mov dword [esp + 0x18], eax
push 0x40
movzx eax, word [eax]
pop edx
mov ecx, dword [edi + 8]
mov dword [esp + 0x54], edi
mov dword [esp + 0x4c], ecx
cmp ax, dx
jle 0x4a329a
push edx
push str.at_most__d_tables_in_a_join
push edi
call fcn.004669cf
add esp, 0xc
jmp 0x4a3992
mov ecx, dword [ebp + 0x14]
and ecx, edx
mov dword [esp + 0x84], ecx
je 0x4a32ad
xor eax, eax
inc eax
jmp 0x4a32ae
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.00464ed8
mov ebx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
cmp byte [eax + 0x36], 0
je 0x4a32ea
mov edx, ebx
mov ecx, eax
call fcn.00464d37
jmp 0x4a3992
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x18]
mov dword [ebx], edi
mov dword [ebx + 0xc], eax
call fcn.00478e01
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 + 0x1c], eax
mov eax, dword [esp + 0x20]
push 0
pop edx
movsd qword [ebx + 0x28], xmm0
test byte [eax + 0x18], 0x80
mov eax, dword [ebp + 0x10]
cmovne eax, edx
mov dword [esp + 0x38], ecx
push 0x104
xor esi, esi
mov dword [ebp + 0x10], eax
push esi
push ecx
call fcn.005278d0
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov edx, edi
push dword [ebp + 0x14]
push dword [esp + 0x3c]
call fcn.0049f37b
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.00487aae
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x24]
push 0x45
call fcn.0049f4ec
add esp, 0xc
cmp dword [ebp + 8], esi
je 0x4a33ab
cmp dword [esp + 0x14], esi
je 0x4a339a
mov ecx, dword [ebp + 8]
push 3
pop edx
call fcn.00485e81
test eax, eax
je 0x4a33ab
mov edx, dword [ebp + 8]
mov ecx, edi
push 8
push dword [ebx + 0x18]
call fcn.00487e23
pop ecx
pop ecx
mov eax, dword [esp + 0x18]
xor ecx, ecx
cmp cx, word [eax]
jge 0x4a3425
lea edx, [eax + 0x14]
mov ebx, esi
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x38]
mov ecx, dword [eax]
mov eax, dword [edx + 0x14]
mov dword [edi + ecx*4 + 4], eax
mov eax, edi
mov edi, dword [esp + 0x18]
inc dword [eax]
mov eax, dword [edx]
test eax, eax
je 0x4a340a
test byte [eax + 0x22], 0x10
je 0x4a340a
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 + 0x1c]
cmovae edx, ecx
or dword [eax + 8], ecx
or dword [eax + 0xc], edx
mov edx, dword [esp + 0xc]
movsx eax, word [edi]
inc ebx
add edx, 0x40
mov dword [esp + 0xc], edx
cmp ebx, eax
jl 0x4a33bf
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, eax
call fcn.0049f924
mov edx, dword [esp + 0x20]
cmp byte [edx + 0x36], 0
jne 0x4a397a
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4a3462
mov edx, dword [esp + 0x18]
mov ecx, edi
push eax
push dword [esp + 0x20]
call fcn.004a0808
pop ecx
pop ecx
test eax, eax
je 0x4a3462
mov dword [ebp + 0x10], esi
mov byte [ebx + 8], 1
mov edx, dword [esp + 0x14]
lea eax, [ebx + 0x38]
or ecx, 0xffffffff
mov dword [esp + 0x44], esi
mov dword [esp + 0x74], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], esi
mov dword [esp + 0x58], eax
mov dword [esp + 0xc], eax
test edx, edx
jle 0x4a3852
movsd xmm1, qword [0x597218]
lea edi, [esp + 0xb0]
xor eax, eax
mov dword [esp + 0x10], ecx
push 0xa
pop ecx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x44]
lea edi, [edx - 1]
cmp ecx, edi
movsd qword [esp + 0xc8], xmm1
xorps xmm0, xmm0
mov dword [esp + 0x48], esi
setl al
movlpd qword [esp + 0x78], xmm0
mov dword [esp + 0x5c], eax
test eax, eax
js 0x4a374b
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x64], eax
cmp dword [esp + 0x10], 0
jge 0x4a374b
mov edi, ecx
mov eax, ecx
mov ecx, dword [esp + 0x18]
shl eax, 6
add ecx, 8
add ecx, eax
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], ecx
cmp eax, edx
jge 0x4a373d
imul eax, eax, 0x50
sub eax, 0xffffff80
add eax, ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x34], eax
test byte [ecx + 0x1c], 0xa
push 0
pop eax
setne al
mov dword [esp + 0x78], eax
cmp edi, dword [esp + 0x44]
je 0x4a3547
test eax, eax
jne 0x4a3739
mov edx, dword [ecx + 0x20]
mov ecx, dword [esp + 0x38]
call fcn.0049f529
mov esi, eax
mov dword [esp + 0x6c], eax
and esi, dword [esp + 0x28]
mov ecx, edx
and ecx, dword [esp + 0x30]
or esi, ecx
mov dword [esp + 0x68], edx
jne 0x4a3581
mov eax, dword [esp + 0x44]
cmp edi, eax
jne 0x4a370f
inc eax
mov dword [esp + 0x44], eax
jmp 0x4a370f
cmp dword [esp + 0x5c], 0
je 0x4a3590
mov edi, eax
mov dword [esp + 0x70], edx
jmp 0x4a359c
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x70], eax
cmp dword [esp + 0x60], 0
jne 0x4a35b0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4a35b0
mov edx, dword [eax]
xor esi, esi
jmp 0x4a35b4
xor esi, esi
mov edx, esi
mov eax, dword [esp + 0x3c]
xor ecx, ecx
cmp dword [esp + 0x60], ecx
cmove ecx, dword [ebp + 0x10]
cmp dword [eax + 0x3c], esi
jne 0x4a35cb
inc dword [esp + 0x48]
mov eax, dword [eax + 0xc]
test byte [eax + 0x22], 0x10
lea eax, [esp + 0x88]
je 0x4a3602
push dword [esp + 0x34]
mov ecx, ebx
push eax
push edx
push dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
push dword [esp + 0x38]
push dword [esp + 0x84]
push edi
push dword [esp + 0x58]
call fcn.004a1451
jmp 0x4a3624
push eax
push ecx
push edx
push dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
mov ecx, ebx
push dword [esp + 0x38]
push dword [esp + 0x84]
push edi
push dword [esp + 0x58]
call fcn.004a165f
mov edx, dword [esp + 0x8c]
add esp, 0x20
cmp dword [esp + 0x5c], 0
mov edi, dword [esp + 0x68]
je 0x4a364e
test dword [esp + 0x88], 0x100f3000
jne 0x4a364e
or dword [esp + 0x64], edx
or dword [esp + 0x40], edi
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
and ecx, dword [esp + 0x28]
and eax, dword [esp + 0x30]
or ecx, eax
jne 0x4a3704
mov ecx, dword [esp + 0x10]
test ecx, ecx
js 0x4a369a
and edx, dword [esp + 0x64]
and edi, dword [esp + 0x40]
or edx, edi
jne 0x4a369a
test dword [esp + 0xb0], 0x100f3000
je 0x4a369a
test dword [esp + 0x88], 0x100f3000
je 0x4a3704
cmp dword [esp + 0x48], 0
je 0x4a36b7
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0x3c], esi
je 0x4a36b7
test dword [esp + 0x88], 0x100f3000
je 0x4a3704
test ecx, ecx
js 0x4a36e5
movsd xmm1, qword [esp + 0xc8]
comisd xmm1, xmmword [esp + 0xa0]
ja 0x4a36e5
jb 0x4a3704
movsd xmm0, qword [esp + 0xb8]
comisd xmm0, xmmword [esp + 0x90]
jbe 0x4a3704
push 0xa
pop ecx
lea esi, [esp + 0x88]
lea edi, [esp + 0xb0]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x2c]
xor esi, esi
mov dword [esp + 0x10], edi
jmp 0x4a3708
mov edi, dword [esp + 0x2c]
cmp dword [esp + 0x78], 0
jne 0x4a3735
mov ecx, dword [esp + 0x3c]
inc edi
add dword [esp + 0x34], 0x50
add ecx, 0x40
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x3c], ecx
push 0
pop esi
cmp edi, edx
jl 0x4a352b
jmp 0x4a3739
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
dec dword [esp + 0x5c]
mov ecx, dword [esp + 0x44]
jns 0x4a34ec
mov eax, dword [esp + 0xb0]
test eax, 0x1000000
je 0x4a3762
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4a3762
mov dword [ecx], esi
test eax, 0x40000000
je 0x4a376d
mov byte [ebx + 8], 2
mov edx, dword [esp + 0xc]
lea esi, [esp + 0xb0]
and dword [esp + 0x50], eax
mov edi, edx
push 6
pop ecx
rep movsd dword es:[edi], dword [esi]
test eax, 0x200f0000
je 0x4a37b3
cmp word [esp + 0x84], 0
je 0x4a37a4
test eax, 0x20000000
jne 0x4a37a4
mov eax, dword [ebp + 0x18]
mov dword [edx + 0x20], eax
jmp 0x4a37b7
mov edi, dword [esp + 0x54]
mov eax, dword [edi + 0x48]
mov dword [edx + 0x20], eax
inc dword [edi + 0x48]
jmp 0x4a37bb
or dword [edx + 0x20], 0xffffffff
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
shl esi, 6
mov edx, dword [esi + eax + 0x28]
call fcn.0049f529
movsd xmm1, qword [esp + 0xb8]
not edx
and dword [esp + 0x30], edx
not eax
mov edx, dword [esp + 0xc]
and dword [esp + 0x28], eax
comisd xmm1, xmmword [0x597118]
mov eax, dword [esp + 0x10]
mov byte [edx + 0x34], al
jb 0x4a3811
movsd xmm0, qword [edi + 0x1b8]
mulsd xmm0, xmm1
movsd qword [edi + 0x1b8], xmm0
mov eax, dword [esp + 0x18]
mov eax, dword [esi + eax + 0x44]
test eax, eax
je 0x4a382e
test dword [esp + 0xb0], 0xf0000
je 0x4a396a
mov eax, dword [esp + 0x60]
add edx, 0x50
inc eax
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x14]
xor esi, esi
or ecx, 0xffffffff
mov dword [esp + 0x60], eax
cmp eax, edx
jl 0x4a3494
lea eax, [ebx + 0x38]
cmp dword [edi + 0x44], esi
jne 0x4a397a
mov edx, dword [esp + 0x20]
cmp byte [edx + 0x36], 0
jne 0x4a397a
mov edx, dword [esp + 0x50]
and edx, 0x4000000
mov dword [esp + 0x50], edx
je 0x4a3886
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x4a3882
mov dword [edx], esi
mov edx, dword [esp + 0x50]
test byte [ebp + 0x14], 4
je 0x4a389a
test edx, edx
je 0x4a389a
mov byte [ebx + 6], 1
and dword [eax], 0xff7fffff
mov edx, ecx
mov ecx, edi
call fcn.0048dcf6
movsd xmm0, qword [0x597118]
or eax, 0xffffffff
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], eax
mov dword [esp + 0x34], eax
movsd qword [ebx + 0x30], xmm0
test ecx, ecx
jle 0x4a3ab6
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
add ecx, 8
movzx eax, byte [edx + 0x34]
movsd xmm0, qword [edx + 8]
shl eax, 6
add eax, ecx
mov dword [esp + 0x10], 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.00496a6a
mov ecx, dword [esp + 0x24]
mov edx, eax
mov dword [esp + 0x48], edx
test byte [ecx + 0x22], 2
jne 0x4a3a17
cmp dword [ecx + 0x1c], esi
jne 0x4a3a17
mov eax, dword [esp + 0x58]
test dword [eax], 0x8000000
je 0x4a399b
mov edx, ecx
mov ecx, dword [esp + 0x20]
call fcn.0049e589
mov edx, dword [esp + 0x10]
mov esi, eax
mov ecx, dword [esp + 0x4c]
xor eax, eax
push eax
push eax
push dword [edx + 0x20]
mov edx, 0x87
call fcn.00478cdd
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov edx, eax
push 0xfffffffffffffff6
jmp 0x4a39fd
push dword [eax]
push str.cannot_use_index:__s
push edi
call fcn.004669cf
add esp, 0xc
movsd xmm0, qword [ebx + 0x28]
mov edx, ebx
mov ecx, dword [esp + 0x20]
movsd qword [edi + 0x1b8], xmm0
call fcn.004a31c1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [eax], 0x800000
jne 0x4a3a07
test byte [ebp + 0x14], 0x10
jne 0x4a3a07
xor eax, eax
cmp byte [ebx + 6], al
setne al
add eax, 0x27
push eax
push ecx
push edx
mov edx, dword [esp + 0x1c]
mov ecx, edi
mov edx, dword [edx + 0x20]
call fcn.00491bad
add esp, 0xc
cmp byte [ebx + 6], 0
jne 0x4a3a17
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 8], 0x40
jge 0x4a3a17
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x30]
mov ecx, dword [eax + 0x34]
jmp 0x4a39eb
shrd edx, ecx, 1
shr ecx, 1
inc esi
mov eax, edx
or eax, ecx
jne 0x4a39e4
mov eax, dword [esp + 0x4c]
mov ecx, eax
push 0xfffffffffffffff2
mov edx, dword [eax + 0x1c]
dec edx
push esi
call fcn.004791da
pop ecx
pop ecx
jmp 0x4a3a17
push dword [ecx]
push esi
push dword [ecx + 0x14]
mov ecx, edi
call fcn.0048a70b
add esp, 0xc
mov esi, dword [esp + 0x58]
test dword [esi], 0x20000000
je 0x4a3a40
mov edx, dword [esp + 0x1c]
mov ecx, edi
push esi
push dword [esp + 0x38]
push dword [esp + 0x14]
push dword [esp + 0x1c]
call fcn.004a0e70
add esp, 0x10
jmp 0x4a3a74
test dword [esi], 0xf0000
je 0x4a3a74
mov esi, dword [esi + 0x10]
mov ecx, edi
mov edx, esi
call fcn.0048e08a
mov ecx, dword [esp + 0x4c]
push 0xfffffffffffffff0
push eax
push dword [esp + 0x50]
push dword [esi + 0x28]
mov esi, dword [esp + 0x68]
push dword [esi + 0x20]
push 0x27
pop edx
call fcn.00478d63
add esp, 0x14
mov edx, dword [esp + 0x48]
mov ecx, edi
call fcn.0048dcf6
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
call fcn.0049f529
add esi, 0x50
not eax
and dword [esp + 0xc], eax
not edx
and dword [esp + 0x34], edx
dec dword [esp + 0x40]
push 0
mov dword [esp + 0x5c], esi
pop esi
jne 0x4a38cb
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 0x1c]
mov dword [ebx + 0x10], eax
cmp byte [edx + 0x36], 0
jne 0x4a397a
or dword [esp + 0x24], 0xffffffff
test ecx, ecx
jle 0x4a3b2f
lea edx, [ebx + 0x64]
mov dword [esp + 0xc], edx
push dword [ebp + 0x14]
movzx eax, byte [edx + 8]
mov ecx, edi
push eax
lea eax, [edx - 0x2c]
mov edx, dword [esp + 0x20]
push esi
push eax
call fcn.004a21f5
push dword [esp + 0x34]
mov edx, esi
mov ecx, ebx
push dword [esp + 0x88]
push dword [ebp + 0x14]
call fcn.004a2447
mov dword [esp + 0x40], edx
add esp, 0x1c
mov edx, dword [esp + 0xc]
inc esi
mov dword [esp + 0x74], eax
mov ecx, dword [edx]
add edx, 0x50
mov dword [ebx + 0x14], ecx
mov dword [esp + 0xc], edx
cmp esi, dword [esp + 0x14]
jl 0x4a3ade
mov eax, ebx
jmp 0x4a3994