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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
push ebx
push esi
push edi
mov edi, ecx
push 0x60
mov eax, dword [edi + 8]
mov dword [esp + 0x4c], eax
xor eax, eax
push eax
lea eax, [esp + 0x60]
mov ebx, edx
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x50], edi
call fcn.004acf20
movzx eax, word [ebx]
add esp, 0xc
mov dword [esp + 0x58], edi
push 0x40
pop edx
cmp ax, dx
jle 0x492e43
push edx
push str.at_most__d_tables_in_a_join
push edi
call fcn.004554e6
add esp, 0xc
jmp 0x493460
mov ecx, dword [ebp + 0x14]
and ecx, edx
mov dword [esp + 0xbc], ecx
je 0x492e56
xor eax, eax
inc eax
jmp 0x492e57
cwde
mov ecx, dword [edi]
mov esi, eax
imul esi, esi, 0x58
add esi, 0x3f
and esi, 0xfffffff8
mov dword [esp + 0x10], eax
lea edx, [esi + 0x264]
mov dword [esp + 0x28], ecx
call fcn.00453aa0
mov ebx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], ebx
cmp byte [eax + 0x38], 0
je 0x492e95
mov edx, ebx
mov ecx, eax
call fcn.00453901
jmp 0x493460
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [ebx], edi
mov dword [ebx + 4], eax
call fcn.00467230
mov dword [ebx + 0x18], eax
lea eax, [ebx + esi]
mov dword [esp + 0x5c], eax
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x14]
mov word [ebx + 0xa], ax
movsd xmm0, qword [edi + 0x1b8]
movsd qword [ebx + 0x28], xmm0
mov ecx, dword [esp + 0x5c]
lea eax, [ebx + 0x38]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
add ecx, 0x160
test byte [eax + 0x34], 0x20
mov eax, dword [ebp + 0x10]
push 0
pop edx
cmovne eax, edx
push 0x104
xor esi, esi
push esi
push ecx
mov dword [esp + 0x40], ecx
mov dword [ebp + 0x10], eax
call fcn.004acf20
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov edx, edi
push dword [ebp + 0x14]
push dword [esp + 0x38]
call fcn.0048e71c
add esp, 8
cmp dword [edi + 0x15c], esi
jne 0x492f5d
mov eax, dword [edi]
test byte [eax + 0x34], 8
jne 0x492f5d
mov edx, dword [ebp + 8]
lea ecx, [esp + 0xc0]
mov dword [esp + 0xc0], 0x476170
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], edi
call fcn.004720ba
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x5c]
push 0x45
call fcn.0048e85d
pop ecx
cmp dword [ebp + 8], esi
je 0x492f97
cmp dword [esp + 0x10], esi
je 0x492f86
mov ecx, dword [ebp + 8]
push 3
pop edx
call fcn.00474713
test eax, eax
je 0x492f97
mov edx, dword [ebp + 8]
push 8
push dword [ebx + 0x18]
mov ecx, edi
call fcn.0047657f
pop ecx
pop ecx
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp cx, word [eax]
jge 0x492fd2
lea edx, [eax + 0x34]
mov ebx, esi
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x34]
mov ecx, dword [eax]
mov eax, dword [edx]
mov dword [edi + ecx*4 + 4], eax
mov eax, edi
mov edi, dword [esp + 0x14]
inc dword [eax]
movsx eax, word [edi]
inc ebx
lea edx, [edx + 0x48]
cmp ebx, eax
jl 0x492fa7
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx + 0x10]
dec eax
js 0x493000
mov esi, dword [esp + 0x14]
mov ebx, eax
mov edi, ecx
push ebx
mov edx, edi
mov ecx, esi
call fcn.0048f46c
dec ebx
pop ecx
jns 0x492fe4
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x44]
xor esi, esi
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x38], 0
jne 0x493448
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x493033
mov edx, dword [esp + 0x14]
push eax
push ecx
mov ecx, edi
call fcn.0048fcfb
pop ecx
pop ecx
test eax, eax
je 0x493030
mov eax, esi
mov byte [ebx + 0xe], 1
jmp 0x493033
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
or ecx, 0xffffffff
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
lea eax, [ebx + 0x38]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x40], eax
test edx, edx
jle 0x49341b
movsd xmm1, qword [0x4ff020]
mov dword [esp + 0x4c], ecx
push 0xa
xor eax, eax
pop ecx
lea edi, [esp + 0xc0]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x24]
lea ecx, [edx - 1]
cmp eax, ecx
mov ecx, dword [esp + 0x14]
movsd qword [esp + 0xd8], xmm1
mov dword [esp + 0x20], esi
jne 0x4930b2
mov dword [esp + 0x50], esi
jmp 0x49312a
or dword [esp + 0x50], 0xffffffff
mov edi, eax
imul eax, eax, 0x48
lea esi, [ecx + 8]
add esi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], esi
cmp eax, edx
jge 0x49312a
mov ebx, dword [esp + 0x70]
mov edx, dword [esi + 0x2c]
mov ecx, dword [esp + 0x34]
call fcn.0048e89a
and edx, dword [esp + 0x74]
and eax, ebx
or eax, edx
mov eax, dword [esp + 0x24]
jne 0x4930f6
cmp edi, eax
jne 0x49310c
inc eax
mov dword [esp + 0x24], eax
jmp 0x49310c
cmp edi, eax
jle 0x493100
test byte [esi + 0x20], 0xa
jne 0x49311e
inc dword [esp + 0x50]
jne 0x49311e
test byte [esi + 0x20], 8
jne 0x49311e
mov edx, dword [esp + 0x10]
inc edi
add esi, 0x48
mov dword [esp + 0x60], esi
cmp edi, edx
jl 0x4930d1
jmp 0x493122
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x38], esi
test esi, esi
js 0x493315
cmp dword [esp + 0x4c], 0
jge 0x493315
mov esi, eax
imul eax, eax, 0x48
lea edi, [eax + 8]
mov eax, dword [esp + 0x24]
add edi, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x60], edi
cmp eax, edx
jge 0x49330b
imul eax, eax, 0x58
sub eax, 0xffffff80
add eax, ebx
mov dword [esp + 0x2c], eax
xor ebx, ebx
mov eax, dword [esp + 0x24]
cmp esi, eax
jle 0x493183
test byte [edi + 0x20], 0xa
jne 0x493303
mov edx, dword [edi + 0x2c]
mov ecx, dword [esp + 0x34]
call fcn.0048e89a
mov esi, eax
and esi, dword [esp + 0x70]
mov ecx, edx
and ecx, dword [esp + 0x74]
or esi, ecx
je 0x4932b3
cmp dword [esp + 0x38], ebx
je 0x4931b3
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
jmp 0x4931c3
mov eax, dword [esp + 0x70]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x6c], eax
cmp dword [edi + 0x44], ebx
jne 0x4931cc
inc dword [esp + 0x20]
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x58]
test byte [eax + 0x2a], 0x10
je 0x4931ee
mov esi, dword [esp + 0x2c]
lea eax, [esi + 8]
mov dword [esp + 0x80], eax
call fcn.004907c9
jmp 0x4931f7
call fcn.00490e2d
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x38], ebx
je 0x4932d6
movsd xmm0, qword [esp + 0xa8]
movsd qword [esi], xmm0
movsd xmm0, qword [esp + 0xa8]
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb4]
and ecx, dword [esp + 0x70]
and eax, dword [esp + 0x74]
or ecx, eax
jne 0x4932a9
cmp dword [esp + 0x20], ebx
je 0x49324d
mov eax, dword [esp + 0x60]
cmp dword [eax + 0x44], ebx
je 0x49324d
test dword [esp + 0x90], 0x100f3000
je 0x4932a9
cmp dword [esp + 0x4c], ebx
jl 0x49328e
movsd xmm1, qword [esp + 0xd8]
comisd xmm1, xmm0
ja 0x49328e
comisd xmm0, xmm1
ja 0x4932a9
mov ax, word [esp + 0x96]
cmp ax, word [esp + 0xc6]
ja 0x49328e
movsd xmm0, qword [esp + 0xc8]
comisd xmm0, xmmword [esp + 0x98]
jbe 0x4932a9
mov eax, dword [esp + 0x18]
push 0xa
pop ecx
lea esi, [esp + 0x90]
lea edi, [esp + 0xc0]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x4c], eax
mov edi, dword [esp + 0x60]
test byte [edi + 0x20], 8
jne 0x4932fb
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
add dword [esp + 0x2c], 0x58
inc esi
add edi, 0x48
mov dword [esp + 0x18], esi
mov dword [esp + 0x60], edi
cmp esi, edx
jl 0x493171
jmp 0x4932ff
cmp dword [esp + 0x50], ebx
je 0x49320e
movsd xmm0, qword [esp + 0xa8]
divsd xmm0, qword [esi]
movsd qword [esp + 0xa8], xmm0
jmp 0x493217
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
dec dword [esp + 0x38]
jns 0x49313a
mov edx, dword [esp + 0xc0]
test edx, 0x40000000
je 0x493328
mov byte [ebx + 0xe], 2
mov edi, dword [esp + 0x40]
and dword [esp + 0x1c], edx
push 6
pop ecx
lea esi, [esp + 0xc0]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x14]
imul esi, esi, 0x48
mov edi, dword [esp + 0x40]
mov eax, dword [esi + ecx + 0x34]
mov dword [edi + 0x1c], eax
test edx, 0x200f0000
je 0x493388
cmp word [esp + 0xbc], 0
je 0x493375
test edx, 0x20000000
jne 0x493375
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x20], eax
jmp 0x49338c
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [edi + 0x48]
mov dword [edx + 0x20], eax
inc dword [edi + 0x48]
jmp 0x493390
or dword [edi + 0x20], 0xffffffff
mov edi, dword [esp + 0x44]
mov edx, dword [esi + ecx + 0x34]
mov ecx, dword [esp + 0x34]
call fcn.0048e89a
mov ecx, dword [esp + 0x40]
movsd xmm1, qword [esp + 0xc8]
not eax
and dword [esp + 0x70], eax
mov eax, dword [esp + 0x4c]
not edx
and dword [esp + 0x74], edx
comisd xmm1, xmmword [0x4fef30]
mov byte [ecx + 0x34], al
jb 0x4933db
movsd xmm0, qword [edi + 0x1b8]
mulsd xmm0, xmm1
movsd qword [edi + 0x1b8], xmm0
mov eax, dword [esp + 0x14]
mov eax, dword [esi + eax + 0x4c]
test eax, eax
je 0x4933f4
test dword [esp + 0xc0], 0xf0000
je 0x493438
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x10]
add ecx, 0x58
inc eax
mov dword [esp + 0x40], ecx
xor esi, esi
or ecx, 0xffffffff
mov dword [esp + 0x84], eax
cmp eax, edx
jl 0x493076
cmp dword [edi + 0x44], esi
jne 0x493448
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x38], 0
jne 0x493448
test edx, edx
je 0x493469
mov eax, dword [esp + 0x40]
mov ax, word [eax - 0x52]
jmp 0x49346b
push dword [eax]
push str.cannot_use_index:__s
push edi
call fcn.004554e6
add esp, 0xc
movsd xmm0, qword [ebx + 0x28]
mov ecx, dword [esp + 0x28]
mov edx, ebx
movsd qword [edi + 0x1b8], xmm0
call fcn.00492d56
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov word [ebx + 8], ax
mov eax, dword [esp + 0x1c]
and eax, 0x2000000
mov dword [esp + 0x1c], eax
je 0x493490
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x493490
mov ax, word [edx]
mov word [ebx + 8], ax
mov eax, dword [esp + 0x1c]
test byte [ebp + 0x14], 4
je 0x4934a5
test eax, eax
je 0x4934a5
mov byte [ebx + 0xc], 1
and dword [ebx + 0x38], 0xffbfffff
mov edx, ecx
mov ecx, edi
call fcn.0047c377
mov ecx, dword [esp + 0x10]
movsd xmm0, qword [0x4fef30]
or edx, 0xffffffff
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], edx
movsd qword [ebx + 0x30], xmm0
test ecx, ecx
jle 0x49369e
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
movzx eax, byte [edx + 0x34]
movsd xmm0, qword [edx + 8]
imul eax, eax, 0x48
mulsd xmm0, qword [ebx + 0x30]
add ecx, 8
add eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 0x10]
movsd qword [ebx + 0x30], xmm0
mov edx, dword [eax + 0x40]
mov dword [esp + 0x38], eax
call fcn.00485b25
mov ecx, dword [esp + 0x38]
mov edx, eax
mov al, byte [ecx + 0x2a]
mov dword [esp + 0x30], edx
test al, 2
jne 0x4935fc
cmp dword [ecx + 0xc], esi
jne 0x4935fc
mov edi, dword [esp + 0x3c]
test dword [edi], 0x8000000
mov edi, dword [esp + 0x44]
je 0x493571
mov edx, ecx
mov ecx, dword [esp + 0x28]
call fcn.0048d9ab
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
mov esi, eax
xor eax, eax
push eax
push eax
push dword [edx + 0x2c]
mov edx, 0x87
call fcn.00467132
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov edx, eax
push 0xfffffffffffffff6
jmp 0x4935e2
test al, 0x10
jne 0x4935fc
mov eax, dword [esp + 0x3c]
test dword [eax], 0x400000
jne 0x4935ec
test byte [ebp + 0x14], 0x10
jne 0x4935ec
xor eax, eax
cmp byte [ebx + 0xc], al
setne al
add eax, 0x27
push eax
push ecx
push edx
mov edx, dword [esp + 0x28]
mov ecx, edi
mov edx, dword [edx + 0x2c]
call fcn.00480711
add esp, 0xc
cmp byte [ebx + 0xc], 0
jne 0x4935fc
mov eax, dword [esp + 0x38]
push 0x40
pop ecx
cmp word [eax + 0x26], cx
jge 0x4935fc
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
jmp 0x4935d0
shrd edx, ecx, 1
shr ecx, 1
inc esi
mov eax, edx
or eax, ecx
jne 0x4935c9
mov eax, dword [esp + 0x48]
push 0xfffffffffffffff2
mov edx, dword [eax + 0x1c]
dec edx
mov ecx, eax
push esi
call fcn.004675b9
pop ecx
pop ecx
jmp 0x4935fc
push dword [ecx]
push esi
push dword [ecx + 0x20]
mov ecx, edi
call fcn.00478da8
add esp, 0xc
mov esi, dword [esp + 0x3c]
test dword [esi], 0x20000000
je 0x493625
mov edx, dword [esp + 0x5c]
push esi
push dword [esp + 0x24]
mov ecx, edi
push dword [esp + 0x20]
push dword [esp + 0x28]
call fcn.004901e4
add esp, 0x10
jmp 0x493659
test dword [esi], 0xf0000
je 0x493659
mov esi, dword [esi + 0x10]
mov edx, esi
mov ecx, edi
call fcn.0047c6e1
mov ecx, dword [esp + 0x48]
push 0xfffffffffffffff0
push eax
push dword [esp + 0x38]
push dword [esi + 0x24]
mov esi, dword [esp + 0x4c]
push dword [esi + 0x20]
push 0x27
pop edx
call fcn.00467183
add esp, 0x14
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.0047c377
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [eax + 0x2c]
mov ecx, dword [ecx + 4]
call fcn.0048e89a
add esi, 0x58
not eax
and dword [esp + 0x18], eax
not edx
and dword [esp + 0x20], edx
dec dword [esp + 0x2c]
push 0
mov dword [esp + 0x40], esi
pop esi
jne 0x4934d6
mov ecx, dword [esp + 0x10]
or edx, 0xffffffff
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x1c]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x38], 0
jne 0x493448
mov dword [esp + 0x18], edx
test ecx, ecx
jle 0x493713
lea edx, [ebx + 0x64]
mov dword [esp + 0x20], edx
movzx eax, byte [edx + 8]
push dword [ebp + 0x14]
mov ecx, edi
push eax
lea eax, [edx - 0x2c]
mov edx, dword [esp + 0x1c]
push esi
push eax
call fcn.00491c89
push dword [esp + 0x28]
mov edx, esi
push dword [esp + 0x68]
mov ecx, ebx
push dword [ebp + 0x14]
call fcn.00491ed8
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x3c]
add esp, 0x1c
mov ecx, dword [edx]
inc esi
add edx, 0x58
mov dword [esp + 0x54], eax
mov dword [ebx + 0x14], ecx
mov dword [esp + 0x20], edx
cmp esi, dword [esp + 0x10]
jl 0x4936c5
mov eax, ebx
jmp 0x493462