Function at 0x4a5201
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 0x4a5242
push edx
push str.at_most__d_tables_in_a_join
push edi
call fcn.00468970
add esp, 0xc
jmp 0x4a593a
mov ecx, dword [ebp + 0x14]
and ecx, edx
mov dword [esp + 0x84], ecx
je 0x4a5255
xor eax, eax
inc eax
jmp 0x4a5256
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.00466e79
mov ebx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
cmp byte [eax + 0x36], 0
je 0x4a5292
mov edx, ebx
mov ecx, eax
call fcn.00466cd8
jmp 0x4a593a
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.0047ada4
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.00538910
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov edx, edi
push dword [ebp + 0x14]
push dword [esp + 0x3c]
call fcn.004a1323
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.00489a56
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x24]
push 0x45
call fcn.004a1494
add esp, 0xc
cmp dword [ebp + 8], esi
je 0x4a5353
cmp dword [esp + 0x14], esi
je 0x4a5342
mov ecx, dword [ebp + 8]
push 3
pop edx
call fcn.00487e29
test eax, eax
je 0x4a5353
mov edx, dword [ebp + 8]
mov ecx, edi
push 8
push dword [ebx + 0x18]
call fcn.00489dcb
pop ecx
pop ecx
mov eax, dword [esp + 0x18]
xor ecx, ecx
cmp cx, word [eax]
jge 0x4a53cd
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 0x4a53b2
test byte [eax + 0x22], 0x10
je 0x4a53b2
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 0x4a5367
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.004a18cc
mov edx, dword [esp + 0x20]
cmp byte [edx + 0x36], 0
jne 0x4a5922
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4a540a
mov edx, dword [esp + 0x18]
mov ecx, edi
push eax
push dword [esp + 0x20]
call fcn.004a27b0
pop ecx
pop ecx
test eax, eax
je 0x4a540a
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 0x4a57fa
movsd xmm1, qword [0x5abaa8]
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 0x4a56f3
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 0x4a56f3
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 0x4a56e5
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 0x4a54ef
test eax, eax
jne 0x4a56e1
mov edx, dword [ecx + 0x20]
mov ecx, dword [esp + 0x38]
call fcn.004a14d1
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 0x4a5529
mov eax, dword [esp + 0x44]
cmp edi, eax
jne 0x4a56b7
inc eax
mov dword [esp + 0x44], eax
jmp 0x4a56b7
cmp dword [esp + 0x5c], 0
je 0x4a5538
mov edi, eax
mov dword [esp + 0x70], edx
jmp 0x4a5544
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x70], eax
cmp dword [esp + 0x60], 0
jne 0x4a5558
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4a5558
mov edx, dword [eax]
xor esi, esi
jmp 0x4a555c
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 0x4a5573
inc dword [esp + 0x48]
mov eax, dword [eax + 0xc]
test byte [eax + 0x22], 0x10
lea eax, [esp + 0x88]
je 0x4a55aa
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.004a33f9
jmp 0x4a55cc
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.004a3607
mov edx, dword [esp + 0x8c]
add esp, 0x20
cmp dword [esp + 0x5c], 0
mov edi, dword [esp + 0x68]
je 0x4a55f6
test dword [esp + 0x88], 0x100f3000
jne 0x4a55f6
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 0x4a56ac
mov ecx, dword [esp + 0x10]
test ecx, ecx
js 0x4a5642
and edx, dword [esp + 0x64]
and edi, dword [esp + 0x40]
or edx, edi
jne 0x4a5642
test dword [esp + 0xb0], 0x100f3000
je 0x4a5642
test dword [esp + 0x88], 0x100f3000
je 0x4a56ac
cmp dword [esp + 0x48], 0
je 0x4a565f
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0x3c], esi
je 0x4a565f
test dword [esp + 0x88], 0x100f3000
je 0x4a56ac
test ecx, ecx
js 0x4a568d
movsd xmm1, qword [esp + 0xc8]
comisd xmm1, xmmword [esp + 0xa0]
ja 0x4a568d
jb 0x4a56ac
movsd xmm0, qword [esp + 0xb8]
comisd xmm0, xmmword [esp + 0x90]
jbe 0x4a56ac
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 0x4a56b0
mov edi, dword [esp + 0x2c]
cmp dword [esp + 0x78], 0
jne 0x4a56dd
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 0x4a54d3
jmp 0x4a56e1
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
dec dword [esp + 0x5c]
mov ecx, dword [esp + 0x44]
jns 0x4a5494
mov eax, dword [esp + 0xb0]
test eax, 0x1000000
je 0x4a570a
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4a570a
mov dword [ecx], esi
test eax, 0x40000000
je 0x4a5715
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 0x4a575b
cmp word [esp + 0x84], 0
je 0x4a574c
test eax, 0x20000000
jne 0x4a574c
mov eax, dword [ebp + 0x18]
mov dword [edx + 0x20], eax
jmp 0x4a575f
mov edi, dword [esp + 0x54]
mov eax, dword [edi + 0x48]
mov dword [edx + 0x20], eax
inc dword [edi + 0x48]
jmp 0x4a5763
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.004a14d1
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 [0x5ab9a0]
mov eax, dword [esp + 0x10]
mov byte [edx + 0x34], al
jb 0x4a57b9
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 0x4a57d6
test dword [esp + 0xb0], 0xf0000
je 0x4a5912
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 0x4a543c
lea eax, [ebx + 0x38]
cmp dword [edi + 0x44], esi
jne 0x4a5922
mov edx, dword [esp + 0x20]
cmp byte [edx + 0x36], 0
jne 0x4a5922
mov edx, dword [esp + 0x50]
and edx, 0x4000000
mov dword [esp + 0x50], edx
je 0x4a582e
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x4a582a
mov dword [edx], esi
mov edx, dword [esp + 0x50]
test byte [ebp + 0x14], 4
je 0x4a5842
test edx, edx
je 0x4a5842
mov byte [ebx + 6], 1
and dword [eax], 0xff7fffff
mov edx, ecx
mov ecx, edi
call fcn.0048fc9e
movsd xmm0, qword [0x5ab9a0]
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 0x4a5a5e
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.00498a12
mov ecx, dword [esp + 0x24]
mov edx, eax
mov dword [esp + 0x48], edx
test byte [ecx + 0x22], 2
jne 0x4a59bf
cmp dword [ecx + 0x1c], esi
jne 0x4a59bf
mov eax, dword [esp + 0x58]
test dword [eax], 0x8000000
je 0x4a5943
mov edx, ecx
mov ecx, dword [esp + 0x20]
call fcn.004a0531
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.0047ac80
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov edx, eax
push 0xfffffffffffffff6
jmp 0x4a59a5
push dword [eax]
push str.cannot_use_index:__s
push edi
call fcn.00468970
add esp, 0xc
movsd xmm0, qword [ebx + 0x28]
mov edx, ebx
mov ecx, dword [esp + 0x20]
movsd qword [edi + 0x1b8], xmm0
call fcn.004a5169
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [eax], 0x800000
jne 0x4a59af
test byte [ebp + 0x14], 0x10
jne 0x4a59af
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.00493b55
add esp, 0xc
cmp byte [ebx + 6], 0
jne 0x4a59bf
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 8], 0x40
jge 0x4a59bf
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x30]
mov ecx, dword [eax + 0x34]
jmp 0x4a5993
shrd edx, ecx, 1
shr ecx, 1
inc esi
mov eax, edx
or eax, ecx
jne 0x4a598c
mov eax, dword [esp + 0x4c]
mov ecx, eax
push 0xfffffffffffffff2
mov edx, dword [eax + 0x1c]
dec edx
push esi
call fcn.0047b17d
pop ecx
pop ecx
jmp 0x4a59bf
push dword [ecx]
push esi
push dword [ecx + 0x14]
mov ecx, edi
call fcn.0048c6b3
add esp, 0xc
mov esi, dword [esp + 0x58]
test dword [esi], 0x20000000
je 0x4a59e8
mov edx, dword [esp + 0x1c]
mov ecx, edi
push esi
push dword [esp + 0x38]
push dword [esp + 0x14]
push dword [esp + 0x1c]
call fcn.004a2e18
add esp, 0x10
jmp 0x4a5a1c
test dword [esi], 0xf0000
je 0x4a5a1c
mov esi, dword [esi + 0x10]
mov ecx, edi
mov edx, esi
call fcn.00490032
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.0047ad06
add esp, 0x14
mov edx, dword [esp + 0x48]
mov ecx, edi
call fcn.0048fc9e
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
call fcn.004a14d1
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 0x4a5873
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 0x4a5922
or dword [esp + 0x24], 0xffffffff
test ecx, ecx
jle 0x4a5ad7
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.004a419d
push dword [esp + 0x34]
mov edx, esi
mov ecx, ebx
push dword [esp + 0x88]
push dword [ebp + 0x14]
call fcn.004a43ef
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 0x4a5a86
mov eax, ebx
jmp 0x4a593c