Function at 0x4a9922
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 0x4a9963
push edx
push str.at_most__d_tables_in_a_join
push edi
call fcn.0046afad
add esp, 0xc
jmp 0x4a9f69
mov ecx, dword [ebp + 0x14]
and ecx, edx
mov dword [esp + 0x8c], ecx
je 0x4a9976
xor eax, eax
inc eax
jmp 0x4a9977
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.0046931f
mov ebx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
cmp byte [eax + 0x36], 0
je 0x4a99b3
mov edx, ebx
mov ecx, eax
call fcn.00469176
jmp 0x4a9f69
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.0047db9e
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.005713c0
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov edx, edi
push dword [ebp + 0x14]
push dword [esp + 0x4c]
call fcn.004a57c2
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.0048d205
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x20]
push 0x45
call fcn.004a5938
add esp, 0xc
cmp dword [ebp + 8], esi
je 0x4a9a76
cmp dword [esp + 0x14], esi
je 0x4a9a65
mov ecx, dword [ebp + 8]
push 3
pop edx
call fcn.0048b489
test eax, eax
je 0x4a9a76
mov edx, dword [ebp + 8]
mov ecx, edi
push 8
push dword [ebx + 0x18]
call fcn.0048d61c
pop ecx
pop ecx
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp cx, word [eax]
jge 0x4a9af0
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 0x4a9ad5
test byte [eax + 0x22], 0x10
je 0x4a9ad5
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 0x4a9a8a
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.004a5d5f
mov edx, dword [esp + 0x20]
cmp byte [edx + 0x36], 0
jne 0x4a9f51
mov eax, dword [esp + 0x78]
mov dword [esp + 0x7c], eax
test eax, eax
je 0x4a9b3a
mov edx, dword [esp + 0x10]
mov ecx, edi
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x84], eax
call fcn.004a6de0
pop ecx
pop ecx
test eax, eax
je 0x4a9b3a
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 0x4a9f75
movsd xmm1, qword [0x615700]
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 0x4a9e43
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 0x4a9e34
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 0x4a9c31
test al, al
jne 0x4a9e30
mov edx, dword [edx + 0x20]
mov ecx, dword [esp + 0x48]
call fcn.004a5975
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 0x4a9c70
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 0x4a9e09
cmp dword [esp + 0x6c], ebx
je 0x4a9c7e
mov esi, dword [esp + 0x64]
mov edx, eax
jmp 0x4a9c82
mov esi, dword [esp + 0x38]
cmp dword [esp + 0x70], ebx
jne 0x4a9c93
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4a9c93
mov ecx, dword [eax]
jmp 0x4a9c95
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 0x4a9ce1
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.004a7a4a
jmp 0x4a9d0b
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.004a7c81
mov edx, dword [esp + 0x78]
add esp, 0x20
mov esi, dword [esp + 0x64]
cmp dword [esp + 0x6c], ebx
je 0x4a9d31
test dword [esp + 0xb8], 0x100f3000
jne 0x4a9d31
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 0x4a9df6
mov ecx, dword [esp + 0xc]
test ecx, ecx
js 0x4a9d7d
and edx, dword [esp + 0x5c]
and esi, dword [esp + 0x3c]
or edx, esi
jne 0x4a9d7d
test dword [esp + 0x90], 0x100f3000
je 0x4a9d7d
test dword [esp + 0xb8], 0x100f3000
je 0x4a9df6
cmp dword [esp + 0x68], ebx
je 0x4a9d99
mov eax, dword [esp + 0x34]
cmp dword [eax + 0x3c], ebx
je 0x4a9d99
test dword [esp + 0xb8], 0x100f3000
je 0x4a9df6
test ecx, ecx
js 0x4a9dc7
movsd xmm1, qword [esp + 0xa8]
comisd xmm1, xmmword [esp + 0xd0]
ja 0x4a9dc7
movsd xmm0, qword [esp + 0x80]
jb 0x4a9dff
comisd xmm0, xmmword [esp + 0xc0]
jbe 0x4a9dff
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 0x4a9e03
movsd xmm0, qword [esp + 0x80]
mov esi, dword [esp + 0x1c]
cmp byte [esp + 0x33], bl
jne 0x4a9e2c
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 0x4a9c1a
jmp 0x4a9e30
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
sub dword [esp + 0x6c], 1
mov edx, dword [esp + 0x40]
jns 0x4a9bdd
mov edx, dword [esp + 0x90]
test edx, 0x1000000
je 0x4a9e5d
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4a9e5d
xor eax, eax
mov dword [ecx], eax
test edx, 0x40000000
je 0x4a9e69
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 0x4a9eb5
cmp word [esp + 0x8c], 0
je 0x4a9ea2
test edx, 0x20000000
jne 0x4a9ea2
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x20], ecx
jmp 0x4a9eb9
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 0x4a9ebd
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.004a5975
mov ecx, dword [esp + 0x74]
not eax
and dword [esp + 0x4c], eax
not edx
and dword [esp + 0x38], edx
comisd xmm0, xmmword [0x615600]
mov eax, dword [esp + 0xc]
mov byte [ecx + 0x34], al
jb 0x4a9f06
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 0x4a9f1f
test dword [esp + 0x90], 0xf0000
je 0x4a9f41
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 0x4a9f72
or edx, 0xffffffff
jmp 0x4a9b6c
push dword [eax]
push str.cannot_use_index:__s
push edi
call fcn.0046afad
add esp, 0xc
movsd xmm0, qword [ebx + 0x28]
mov edx, ebx
mov ecx, dword [esp + 0x20]
movsd qword [edi + 0x1b8], xmm0
call fcn.004a988c
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 0x4a9f51
mov edx, dword [esp + 0x20]
cmp byte [edx + 0x36], 0
jne 0x4a9f51
mov ecx, dword [esp + 0x50]
and ecx, 0x4000000
mov dword [esp + 0x50], ecx
je 0x4a9fa1
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4a9f9d
mov dword [ecx], esi
mov ecx, dword [esp + 0x50]
test byte [ebp + 0x14], 4
je 0x4a9fb5
test ecx, ecx
je 0x4a9fb5
mov byte [ebx + 6], 1
and dword [eax], 0xff7fffff
or edx, 0xffffffff
mov ecx, edi
call fcn.00493682
movsd xmm0, qword [0x615600]
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 0x4aa19f
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.0049c89d
mov ecx, dword [esp + 0x24]
mov edx, eax
mov dword [esp + 0x5c], edx
test byte [ecx + 0x22], 2
jne 0x4aa0ff
cmp dword [ecx + 0x1c], esi
jne 0x4aa0ff
mov eax, dword [esp + 0x60]
test dword [eax], 0x8000000
je 0x4aa083
mov edx, ecx
mov ecx, dword [esp + 0x20]
call fcn.004a493d
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.0047da7a
mov ecx, dword [esp + 0x60]
add esp, 0xc
mov edx, eax
push 0xfffffffffffffff6
jmp 0x4aa0e5
test dword [eax], 0x800000
jne 0x4aa0ef
test byte [ebp + 0x14], 0x10
jne 0x4aa0ef
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.00497812
add esp, 0xc
cmp byte [ebx + 6], 0
jne 0x4aa0ff
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 8], 0x40
jge 0x4aa0ff
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x30]
mov ecx, dword [eax + 0x34]
jmp 0x4aa0d3
shrd edx, ecx, 1
shr ecx, 1
inc esi
mov eax, edx
or eax, ecx
jne 0x4aa0cc
mov eax, dword [esp + 0x54]
mov ecx, eax
push 0xfffffffffffffff2
mov edx, dword [eax + 0x1c]
dec edx
push esi
call fcn.0047dfad
pop ecx
pop ecx
jmp 0x4aa0ff
push dword [ecx]
push esi
push dword [ecx + 0x14]
mov ecx, edi
call fcn.0049005e
add esp, 0xc
mov esi, dword [esp + 0x60]
test dword [esi], 0x20000000
je 0x4aa128
mov edx, dword [esp + 0x18]
mov ecx, edi
push esi
push dword [esp + 0x40]
push dword [esp + 0x30]
push dword [esp + 0x18]
call fcn.004a7488
add esp, 0x10
jmp 0x4aa15c
test dword [esi], 0xf0000
je 0x4aa15c
mov esi, dword [esi + 0x10]
mov ecx, edi
mov edx, esi
call fcn.00493a11
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.0047db00
add esp, 0x14
mov edx, dword [esp + 0x5c]
mov ecx, edi
call fcn.00493682
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
call fcn.004a5975
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 0x4a9fe7
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 0x4a9f51
or dword [esp + 0x24], 0xffffffff
test ecx, ecx
jle 0x4aa218
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.004a88b1
push dword [esp + 0x34]
mov edx, esi
mov ecx, ebx
push dword [esp + 0x8c]
push dword [ebp + 0x14]
call fcn.004a8b05
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 0x4aa1c7
mov eax, ebx
jmp 0x4a9f6b