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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x685680]
xor eax, esp
mov dword [esp + 0xf4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, ecx
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x54], eax
movzx eax, word [edx]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], edi
cmp ax, 0x40
jle 0x49fac1
push 0x40
push str.at_most__d_tables_in_a_join
push edi
call fcn.0045d420
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.005cd355
mov esp, ebp
pop ebp
ret
test byte [ebp + 0x14], 0x40
je 0x49face
mov eax, 1
jmp 0x49facf
cwde
mov ecx, dword [edi]
lea esi, [eax + eax*4]
shl esi, 4
add esi, 0x3f
and esi, 0xfffffff8
mov dword [esp + 0x18], eax
lea edx, [esi + 0x26c]
mov dword [esp + 0x28], ecx
call fcn.0045b5d0
mov ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
cmp byte [eax + 0x1e], 0
je 0x49fb20
push ecx
push eax
call fcn.0045b3d0
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.005cd355
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx], edi
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x54]
call fcn.00471a80
mov ecx, dword [esp + 0x14]
add esi, ecx
mov dword [ecx + 0x18], eax
mov eax, dword [ebp + 0x14]
mov word [ecx + 4], ax
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x20], esi
movsd xmm0, qword [edi + 0x1c0]
movsd qword [ecx + 0x28], xmm0
test byte [eax + 0xc], 0x80
mov eax, dword [esp + 0x5c]
mov edx, 0
push 0x104
lea ecx, [esi + 0x168]
push edx
cmovne eax, edx
push ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x68], eax
call fcn.005d1b40
add esp, 0xc
lea eax, [esi + 0x168]
push dword [ebp + 0x14]
mov edx, edi
push eax
mov ecx, esi
call fcn.0049b8f0
mov edx, dword [esp + 0x3c]
mov ecx, edi
call fcn.00482500
mov edx, dword [esp + 0x3c]
push 0x45
mov ecx, esi
call fcn.0049ba90
mov ecx, dword [esp + 0x40]
add esp, 0xc
test ecx, ecx
je 0x49fbf5
cmp dword [esp + 0x18], 0
je 0x49fbd8
call fcn.00480360
test eax, eax
je 0x49fbf5
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
push 8
push dword [eax + 0x18]
mov edx, ecx
mov ecx, edi
call fcn.004829b0
add esp, 8
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x1c]
xor ecx, ecx
xor esi, esi
cmp cx, word [eax]
jge 0x49fc60
lea edi, [eax + 0x14]
jmp 0x49fc10
mov edx, dword [edi + 0x14]
mov ecx, dword [esp + 0x48]
call fcn.0049bb20
mov eax, dword [edi]
test eax, eax
je 0x49fc49
test byte [eax + 0x22], 0x10
je 0x49fc49
xor ecx, ecx
mov eax, esi
bts ecx, eax
xor edx, edx
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [esp + 0x3c]
cmovae edx, ecx
or dword [eax + 8], ecx
or dword [eax + 0xc], edx
mov eax, dword [esp + 0x1c]
inc esi
movsx eax, word [eax]
add edi, 0x40
cmp esi, eax
jl 0x49fc10
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
mov edx, esi
mov ecx, eax
call fcn.0049bf60
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x1e], 0
jne 0x4a0111
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x49fca7
mov edx, dword [esp + 0x1c]
push ecx
push esi
mov ecx, edi
call fcn.0049cec0
add esp, 8
test eax, eax
je 0x49fca7
mov esi, dword [esp + 0x14]
mov dword [esp + 0x5c], 0
mov byte [esi + 8], 1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
xor esi, esi
add edx, 0x38
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x58], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x24], edx
test eax, eax
jle 0x4a0147
lea edi, [eax - 1]
mov dword [esp + 0x84], edi
mov edi, edi
push 0x28
lea eax, [esp + 0x94]
push 0
push eax
mov dword [esp + 0x6c], 0xffffffff
call fcn.005d1b40
movsd xmm0, qword [0x658738]
xor eax, eax
add esp, 0xc
cmp esi, edi
setl al
movsd qword [esp + 0xa8], xmm0
xorps xmm0, xmm0
mov dword [esp + 0x7c], 0
movlpd qword [esp + 0x88], xmm0
mov dword [esp + 0x68], eax
test eax, eax
js 0x49ffe2
mov eax, dword [esp + 0x8c]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x74], eax
mov edi, edi
test edi, edi
jns 0x49ffe5
mov ecx, dword [esp + 0x1c]
mov eax, esi
shl eax, 6
add ecx, 8
add ecx, eax
mov edx, esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x38], ecx
cmp esi, dword [esp + 0x18]
jge 0x49ffd6
mov edi, dword [esp + 0x14]
lea eax, [esi + esi*4]
shl eax, 4
sub edi, 0xffffff80
add eax, edi
mov dword [esp + 0x40], eax
lea ecx, [ecx]
test byte [ecx + 0x1c], 0xa
mov eax, 0
setne al
mov dword [esp + 0x80], eax
cmp edx, esi
je 0x49fdbf
test eax, eax
jne 0x49ffd2
mov edx, dword [ecx + 0x20]
mov ecx, dword [esp + 0x48]
call fcn.0049bae0
mov edi, eax
mov eax, edx
mov edx, dword [esp + 0x30]
mov ecx, eax
and ecx, dword [esp + 0x2c]
mov esi, edi
and esi, edx
or esi, ecx
mov dword [esp + 0x78], eax
jne 0x49fdff
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x58]
cmp edx, esi
jne 0x49ffb3
inc esi
mov dword [esp + 0x58], esi
jmp 0x49ffb3
cmp dword [esp + 0x68], 0
je 0x49fe0a
mov esi, edi
jmp 0x49fe10
mov eax, dword [esp + 0x2c]
mov esi, edx
cmp dword [esp + 0x64], 0
mov dword [esp + 0x70], eax
jne 0x49fe27
mov eax, dword [esp + 0x20]
test eax, eax
je 0x49fe27
mov edx, dword [eax]
jmp 0x49fe29
xor edx, edx
mov eax, dword [esp + 0x38]
xor ecx, ecx
cmp dword [esp + 0x64], ecx
cmove ecx, dword [esp + 0x5c]
cmp dword [eax + 0x3c], 0
jne 0x49fe42
inc dword [esp + 0x7c]
mov eax, dword [eax + 0xc]
test byte [eax + 0x22], 0x10
lea eax, [esp + 0xc0]
je 0x49fe7b
push dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
push eax
push edx
push dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
push dword [esp + 0x40]
push dword [esp + 0x84]
push esi
push dword [esp + 0x54]
call fcn.0049db20
jmp 0x49fe9f
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
push dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
push dword [esp + 0x40]
push dword [esp + 0x84]
push esi
push dword [esp + 0x54]
call fcn.0049dd50
mov edx, dword [esp + 0xe0]
mov esi, dword [esp + 0x98]
add esp, 0x20
cmp dword [esp + 0x68], 0
je 0x49fec7
test edx, 0x100f3000
jne 0x49fec7
or dword [esp + 0x74], edi
or dword [esp + 0x6c], esi
mov ecx, dword [esp + 0xe0]
mov eax, dword [esp + 0xe4]
and ecx, dword [esp + 0x30]
and eax, dword [esp + 0x2c]
or ecx, eax
jne 0x49ffa1
mov ecx, dword [esp + 0x60]
test ecx, ecx
js 0x49ff12
and edi, dword [esp + 0x74]
and esi, dword [esp + 0x6c]
or edi, esi
jne 0x49ff12
test dword [esp + 0x90], 0x100f3000
je 0x49ff12
test edx, 0x100f3000
je 0x49ffa1
cmp dword [esp + 0x7c], 0
je 0x49ff2f
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x3c], 0
je 0x49ff2f
test edx, 0x100f3000
je 0x49ffa1
test ecx, ecx
js 0x49ff61
movsd xmm0, qword [esp + 0xa8]
movsd xmm1, qword [esp + 0xd8]
comisd xmm0, xmm1
ja 0x49ff61
jb 0x49ffa1
movsd xmm0, qword [esp + 0x98]
comisd xmm0, xmmword [esp + 0xc8]
jbe 0x49ffa1
movdqa xmm0, xmmword [esp + 0xc0]
mov edx, dword [esp + 0x50]
movdqa xmmword [esp + 0x90], xmm0
movdqa xmm0, xmmword [esp + 0xd0]
movdqa xmmword [esp + 0xa0], xmm0
movq xmm0, qword [esp + 0xe0]
movq qword [esp + 0xb0], xmm0
mov dword [esp + 0x60], edx
jmp 0x49ffa5
mov edx, dword [esp + 0x50]
cmp dword [esp + 0x80], 0
mov esi, dword [esp + 0x58]
jne 0x49ffd2
mov ecx, dword [esp + 0x38]
add dword [esp + 0x40], 0x50
inc edx
add ecx, 0x40
mov dword [esp + 0x50], edx
mov dword [esp + 0x38], ecx
cmp edx, dword [esp + 0x18]
jl 0x49fda0
mov edi, dword [esp + 0x60]
dec dword [esp + 0x68]
jns 0x49fd60
jmp 0x49ffe5
or edi, 0xffffffff
test dword [esp + 0x90], 0x1000000
je 0x4a0000
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4a0000
mov dword [eax], 0
test dword [esp + 0x90], 0x40000000
je 0x4a0015
mov eax, dword [esp + 0x14]
mov byte [eax + 8], 2
mov edx, dword [esp + 0x24]
movq xmm0, qword [esp + 0x90]
mov eax, dword [esp + 0x90]
and dword [esp + 0x44], eax
movq qword [edx], xmm0
movq xmm0, qword [esp + 0x98]
movq qword [edx + 8], xmm0
movq xmm0, qword [esp + 0xa0]
movq qword [edx + 0x10], xmm0
test eax, 0x200f0000
je 0x4a0063
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x44]
mov dword [edx + 0x20], eax
inc dword [ecx + 0x44]
jmp 0x4a006a
mov dword [edx + 0x20], 0xffffffff
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
mov esi, edi
shl esi, 6
mov edx, dword [esi + eax + 0x28]
call fcn.0049bae0
mov ecx, dword [esp + 0x24]
movsd xmm1, qword [esp + 0x98]
mov edi, dword [esp + 0x10]
not eax
and dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
not edx
and dword [esp + 0x2c], edx
comisd xmm1, xmmword [0x658608]
mov byte [ecx + 0x34], al
jb 0x4a00c2
movsd xmm0, qword [edi + 0x1c0]
mulsd xmm0, xmm1
movsd qword [edi + 0x1c0], xmm0
mov eax, dword [esp + 0x1c]
mov eax, dword [esi + eax + 0x44]
test eax, eax
je 0x4a00db
test dword [esp + 0x90], 0xf0000
je 0x4a0101
mov eax, dword [esp + 0x64]
inc eax
add ecx, 0x50
mov dword [esp + 0x64], eax
mov dword [esp + 0x24], ecx
cmp eax, dword [esp + 0x18]
jge 0x4a0143
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x84]
jmp 0x49fcf0
push dword [eax]
push str.cannot_use_index:__s
push edi
call fcn.0045d420
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
movsd xmm0, qword [eax + 0x28]
mov edx, eax
movsd qword [edi + 0x1c0], xmm0
call fcn.0049f9a0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.005cd355
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x4c]
cmp dword [edi + 0x40], 0
jne 0x4a0111
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x1e], 0
jne 0x4a0111
mov eax, dword [esp + 0x44]
and eax, 0x4000000
mov dword [esp + 0x44], eax
je 0x4a0178
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4a0174
mov dword [eax], 0
mov eax, dword [esp + 0x44]
test byte [ebp + 0x14], 4
je 0x4a0190
test eax, eax
je 0x4a0190
mov eax, dword [esp + 0x14]
mov byte [eax + 6], 1
and dword [edx], 0xff7fffff
or edx, 0xffffffff
mov ecx, edi
call fcn.00489110
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
movsd xmm0, qword [0x658608]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
movsd qword [ecx + 0x30], xmm0
test edx, edx
jle 0x4a0390
mov dword [esp + 0x40], edx
lea edx, [ecx + 0x38]
jmp 0x4a01d4
mov ecx, dword [esp + 0x14]
movzx eax, byte [edx + 0x34]
mov edi, dword [esp + 0x1c]
movsd xmm0, qword [edx + 8]
shl eax, 6
add edi, 8
add edi, eax
mov eax, dword [edi + 0x20]
mov esi, dword [edi + 0xc]
mov dword [edx + 0x1c], eax
mulsd xmm0, qword [ecx + 0x30]
movsd qword [ecx + 0x30], xmm0
mov edx, dword [esi + 0x44]
mov ecx, dword [esp + 0x28]
call fcn.00492750
test byte [esi + 0x22], 2
mov edx, eax
mov dword [esp + 0x48], edx
jne 0x4a024e
cmp dword [esi + 0x1c], 0
jne 0x4a024e
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
test ecx, 0x8000000
je 0x4a0280
mov ecx, dword [esp + 0x28]
push 0xfffffffffffffff6
mov edx, esi
call fcn.0049a8d0
mov ecx, dword [esp + 0x58]
push eax
push 0
push 0
push dword [edi + 0x20]
mov edx, 0x87
call fcn.004719b0
add esp, 0x14
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx]
test eax, 0x20000000
je 0x4a0314
mov edx, dword [esp + 0x3c]
push ecx
push dword [esp + 0x28]
mov ecx, esi
push dword [esp + 0x28]
push edi
call fcn.0049d540
add esp, 0x10
jmp 0x4a034b
test ecx, 0x800000
jne 0x4a02fa
test byte [ebp + 0x14], 0x10
jne 0x4a02fa
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp byte [ecx + 6], al
mov ecx, dword [esp + 0x10]
setne al
add eax, 0x27
push eax
push esi
push edx
mov edx, dword [edi + 0x20]
call fcn.0048d810
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp byte [eax + 6], 0
jne 0x4a024e
cmp dword [esi + 8], 0x40
jge 0x4a024e
mov edx, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
mov eax, edx
xor esi, esi
or eax, ecx
je 0x4a02de
shrd edx, ecx, 1
shr ecx, 1
mov eax, edx
inc esi
or eax, ecx
jne 0x4a02d1
mov ecx, dword [esp + 0x54]
push 0xfffffffffffffff2
push esi
call fcn.00416e00
lea edx, [eax - 1]
call fcn.00471f70
add esp, 8
jmp 0x4a024e
push dword [esi]
push 0
push dword [esi + 0x14]
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.00485690
add esp, 0xc
jmp 0x4a0252
test eax, 0xf0000
je 0x4a034b
mov esi, dword [ecx + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, esi
call fcn.00489560
mov ecx, dword [esp + 0x54]
push 0xfffffffffffffff0
push eax
push dword [esp + 0x50]
mov eax, dword [esp + 0x58]
push dword [esi + 0x14]
mov edx, 0x27
push dword [eax + 0x20]
call fcn.004719b0
add esp, 0x14
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
call fcn.00489110
mov eax, dword [esp + 0x3c]
mov edx, dword [edi + 0x20]
mov ecx, dword [eax + 4]
call fcn.0049bae0
not edx
and dword [esp + 0x24], edx
mov edx, dword [esp + 0x4c]
not eax
and dword [esp + 0x20], eax
add edx, 0x50
dec dword [esp + 0x40]
mov dword [esp + 0x4c], edx
jne 0x4a01d0
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x54]
call fcn.00416e00
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x1e], 0
jne 0x4a0111
xor esi, esi
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
test edx, edx
jle 0x4a0424
lea edi, [ecx + 0x64]
jmp 0x4a03d0
movzx eax, byte [edi + 8]
push dword [ebp + 0x14]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push eax
lea eax, [edi - 0x2c]
push esi
push eax
call fcn.0049ea50
push dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
push dword [esp + 0x38]
mov edx, esi
push dword [esp + 0x38]
push dword [ebp + 0x14]
call fcn.0049eca0
mov ecx, dword [edi]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x34]
inc esi
add esp, 0x20
mov dword [esp + 0x24], edx
mov dword [eax + 0x14], ecx
lea edi, [edi + 0x50]
cmp esi, dword [esp + 0x18]
jl 0x4a03d0
mov ecx, eax
mov eax, ecx
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
xor ecx, esp
call fcn.005cd355
mov esp, ebp
pop ebp
ret