Function at 0x46a670
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x40], eax
movzx eax, word [ecx]
cmp ax, 0x40
jle 0x46a6ad
push 0x40
push str.at_most__d_tables_in_a_join
call fcn.0043e7b0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [ebp + 0x1c], 0x40
je 0x46a6bd
mov dword [esp + 0x1c], 1
jmp 0x46a6c4
movsx edx, ax
mov dword [esp + 0x1c], edx
mov ebx, dword [esp + 0x1c]
lea ebx, [ebx + ebx*4]
shl ebx, 4
mov eax, edi
mov eax, dword [eax]
add ebx, 0x3f
and ebx, 0xfffffff8
lea edi, [ebx + 0x26c]
mov dword [esp + 0x20], eax
call fcn.0043d770
mov ecx, dword [esp + 0x20]
cmp byte [ecx + 0x1e], 0
mov esi, eax
mov dword [esp + 0xc], esi
je 0x46a70c
mov edx, ecx
push esi
push edx
call fcn.0042d860
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esi], ecx
mov dword [esi + 0xc], edx
call fcn.0043a050
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x18], eax
mov ax, word [ebp + 0x1c]
lea edi, [esi + ebx]
mov dword [esi + 0x20], edi
mov word [esi + 4], ax
fld qword [ecx + 0x1c0]
fstp qword [esi + 0x28]
test byte [edx + 0xc], 0x80
mov dword [esp + 0x2c], edi
je 0x46a759
mov dword [ebp + 0x18], 0
push 0x104
push 0
lea ebx, [edi + 0x168]
push ebx
call fcn.00477c40
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 8]
push eax
mov edx, ebx
mov eax, edi
call fcn.00435cd0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edx, ebx
call fcn.00463600
push 0x45
push ebx
push edi
call fcn.0043cab0
add esp, 0x1c
test ebx, ebx
je 0x46a7c5
cmp dword [esp + 0x1c], 0
je 0x46a7ab
mov ecx, ebx
call fcn.0043b230
test eax, eax
je 0x46a7c5
mov ecx, dword [esi + 0x18]
mov edx, dword [ebp + 8]
push 8
push ecx
push ebx
push edx
call fcn.00460f40
add esp, 0x10
mov dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0xc]
xor eax, eax
xor esi, esi
cmp ax, word [ecx]
jge 0x46a81c
mov ebx, ecx
add ebx, 0x14
jmp 0x46a7e0
mov edx, dword [ebx + 0x14]
lea eax, [edi + 0x168]
call fcn.00435d50
mov eax, dword [ebx]
test eax, eax
je 0x46a80e
test byte [eax + 0x22], 0x10
je 0x46a80e
mov eax, 1
xor edx, edx
mov ecx, esi
call fcn.0047c7a0
or dword [edi + 8], eax
or dword [edi + 0xc], edx
mov edx, dword [ebp + 0xc]
movsx eax, word [edx]
inc esi
add ebx, 0x40
cmp esi, eax
jl 0x46a7e0
mov ecx, dword [ebp + 0xc]
push edi
push ecx
call fcn.0046a640
mov edx, dword [esp + 0x28]
add esp, 8
cmp byte [edx + 0x1e], 0
jne 0x46ac92
mov ecx, dword [ebp + 0x18]
xor esi, esi
cmp ecx, esi
je 0x46a863
mov eax, dword [esp + 0x2c]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push edx
call fcn.00450930
add esp, 8
test eax, eax
je 0x46a863
mov eax, dword [esp + 0xc]
mov dword [ebp + 0x18], esi
mov byte [eax + 8], 1
or eax, 0xffffffff
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xc]
add eax, 0x38
cmp dword [esp + 0x1c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
jle 0x46ac39
mov ecx, dword [esp + 0x1c]
fld qword [0x4a38a8]
xor eax, eax
xor edx, edx
dec ecx
cmp dword [esp + 0x30], ecx
mov dword [esp + 0x80], eax
setl dl
mov dword [esp + 0x84], eax
fstp qword [esp + 0x80]
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov ecx, edx
cmp ecx, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x44], ecx
jl 0x46ab45
cmp dword [esp + 0x38], 0
jge 0x46ab45
mov eax, dword [esp + 0x30]
mov edx, dword [ebp + 0xc]
mov ecx, eax
shl ecx, 6
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
lea ebx, [ecx + edx + 8]
jge 0x46ab3a
mov ecx, dword [esp + 0xc]
lea eax, [eax + eax*4]
shl eax, 4
lea edx, [eax + ecx + 0x80]
mov dword [esp + 0x60], edx
test byte [ebx + 0x1c], 0xa
mov ecx, dword [esp + 0x30]
mov eax, 0
setne al
mov dword [esp + 0x64], eax
cmp dword [esp + 0x3c], ecx
je 0x46a962
test eax, eax
jne 0x46ab3a
mov edx, dword [esp + 0x2c]
mov esi, dword [ebx + 0x20]
add edx, 0x168
call fcn.00435d20
mov edi, edx
mov esi, eax
and eax, dword [esp + 0x10]
mov ecx, edi
and ecx, dword [esp + 0x14]
mov dword [esp + 0x48], esi
or eax, ecx
mov dword [esp + 0x4c], edi
jne 0x46a9a5
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x3c], edx
jne 0x46ab1f
inc dword [esp + 0x30]
jmp 0x46ab1f
cmp dword [esp + 0x44], 0
je 0x46a9b2
mov edx, esi
mov esi, edi
jmp 0x46a9ba
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x24], 0
jne 0x46a9cc
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x46a9cc
mov ecx, dword [eax]
jmp 0x46a9ce
xor ecx, ecx
mov eax, dword [esp + 0x24]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp + 0x18]
cmp dword [ebx + 0x3c], 0
jne 0x46a9e5
inc dword [esp + 0x54]
mov edi, dword [ebx + 0xc]
test byte [edi + 0x22], 0x10
je 0x46aa19
mov eax, dword [esp + 0x60]
push eax
lea eax, [esp + 0x94]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x3c]
push eax
push esi
push edx
mov edx, dword [ebp + 8]
push ebx
push ecx
push edx
call fcn.00454ec0
jmp 0x46aa3e
lea edi, [esp + 0x90]
push edi
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [ebp + 8]
push ecx
push esi
push edx
mov edx, dword [esp + 0x48]
push ebx
push edx
push eax
call fcn.00450bc0
mov edi, dword [esp + 0xb8]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
add esp, 0x28
cmp dword [esp + 0x44], 0
je 0x46aa67
test edi, 0x100f3000
jne 0x46aa67
or dword [esp + 0x58], ecx
or dword [esp + 0x5c], edx
mov eax, dword [esp + 0xb0]
mov esi, dword [esp + 0xb4]
and eax, dword [esp + 0x10]
and esi, dword [esp + 0x14]
or eax, esi
jne 0x46ab18
mov esi, dword [esp + 0x38]
test esi, esi
jl 0x46aaad
and ecx, dword [esp + 0x58]
and edx, dword [esp + 0x5c]
mov eax, ecx
or eax, edx
jne 0x46aaad
test dword [esp + 0x68], 0x100f3000
je 0x46aaad
test edi, 0x100f3000
je 0x46ab18
cmp dword [esp + 0x54], 0
je 0x46aac2
cmp dword [ebx + 0x3c], 0
je 0x46aac2
test edi, 0x100f3000
je 0x46ab18
test esi, esi
jl 0x46aafe
fld qword [esp + 0x80]
fld qword [esp + 0xa8]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x46aafa
fcompp
fnstsw ax
test ah, 0x41
jp 0x46ab18
fld qword [esp + 0x70]
fcomp qword [esp + 0x98]
fnstsw ax
test ah, 0x41
jne 0x46ab18
jmp 0x46aafe
fstp st(1)
fstp st(0)
mov ecx, 0xa
lea esi, [esp + 0x90]
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
cmp dword [esp + 0x64], 0
jne 0x46ab3a
mov eax, dword [esp + 0x3c]
add dword [esp + 0x60], 0x50
inc eax
add ebx, 0x40
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
jl 0x46a940
sub dword [esp + 0x44], 1
jns 0x46a902
mov eax, dword [esp + 0x68]
test eax, 0x1000000
je 0x46ab5d
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x46ab5d
mov dword [ecx], 0
test eax, 0x40000000
je 0x46ab6c
mov edx, dword [esp + 0xc]
mov byte [edx + 8], 2
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
and dword [esp + 0x34], eax
mov dword [edi], eax
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [edi + 8], edx
mov edx, dword [esp + 0x78]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x7c]
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], ecx
test eax, 0x200f0000
je 0x46abae
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov dword [edi + 0x20], edx
inc dword [eax + 0x44]
jmp 0x46abb5
mov dword [edi + 0x20], 0xffffffff
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x2c]
shl eax, 6
mov esi, dword [eax + ecx + 0x28]
lea ebx, [eax + ecx]
add edx, 0x168
call fcn.00435d20
fld1
fld qword [esp + 0x70]
not eax
and dword [esp + 0x10], eax
fcom st(1)
not edx
and dword [esp + 0x14], edx
mov dl, byte [esp + 0x38]
mov byte [edi + 0x34], dl
fnstsw ax
fstp st(1)
test ah, 1
jne 0x46ac0a
mov eax, dword [ebp + 8]
fmul qword [eax + 0x1c0]
fstp qword [eax + 0x1c0]
jmp 0x46ac0c
fstp st(0)
mov ebx, dword [ebx + 0x44]
test ebx, ebx
je 0x46ac1d
test dword [esp + 0x68], 0xf0000
je 0x46ac7f
mov eax, dword [esp + 0x24]
inc eax
add edi, 0x50
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
jl 0x46a88f
xor esi, esi
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x40], esi
jne 0x46ac92
mov edx, dword [esp + 0x20]
cmp byte [edx + 0x1e], 0
jne 0x46ac92
mov ecx, dword [esp + 0x34]
and ecx, 0x4000000
je 0x46ac64
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x46ac64
mov dword [eax], 0
test byte [ebp + 0x1c], 4
je 0x46acb9
test ecx, ecx
je 0x46acb9
mov edi, dword [esp + 0xc]
and dword [edi + 0x38], 0xff7fffff
mov byte [edi + 6], 1
jmp 0x46acbd
mov eax, dword [ebx]
mov edi, dword [ebp + 8]
push eax
push str.cannot_use_index:__s
call fcn.0043e7b0
add esp, 8
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
fld qword [eax + 0x28]
mov ecx, dword [ebp + 8]
push eax
fstp qword [ecx + 0x1c0]
push edx
call fcn.0043cfb0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0xc]
mov eax, dword [ebp + 8]
or esi, 0xffffffff
call fcn.0045f6c0
fld1
lea eax, [edi + 0x38]
fstp qword [edi + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
test eax, eax
jle 0x46aea3
mov dword [esp + 0x34], eax
lea esp, [esp]
mov eax, dword [esp + 0x28]
movzx ecx, byte [eax + 0x34]
fld qword [eax + 8]
mov edx, dword [ebp + 0xc]
shl ecx, 6
mov edi, dword [ecx + edx + 0x14]
lea ebx, [ecx + edx + 8]
mov ecx, dword [ebx + 0x20]
mov dword [eax + 0x1c], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x64], ebx
fmul qword [eax + 0x30]
fstp qword [eax + 0x30]
mov esi, dword [edi + 0x44]
call fcn.00435200
test byte [edi + 0x22], 2
mov dword [esp + 0x24], eax
jne 0x46ae0d
cmp dword [edi + 0x1c], 0
jne 0x46ae0d
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
test eax, 0x8000000
je 0x46ad76
mov ecx, dword [esp + 0x20]
push 0xfffffffffffffff6
mov eax, edi
call fcn.004359b0
mov edx, dword [ebx + 0x20]
mov edi, dword [esp + 0x44]
push eax
push 0x87
xor eax, eax
xor ecx, ecx
call fcn.004400c0
jmp 0x46ae0a
test eax, 0x800000
jne 0x46adf1
test byte [ebp + 0x1c], 0x10
jne 0x46adf1
mov ecx, dword [esp + 0xc]
mov edx, dword [ebx + 0x20]
xor eax, eax
cmp byte [ecx + 6], al
mov esi, edi
setne al
add eax, 0x27
push eax
mov eax, dword [ebp + 8]
push edx
push eax
mov eax, dword [esp + 0x30]
call fcn.00448ae0
mov ecx, dword [esp + 0x18]
add esp, 0xc
cmp byte [ecx + 6], 0
jne 0x46ae0d
cmp dword [edi + 8], 0x40
jge 0x46ae0d
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x34]
mov esi, eax
xor edx, edx
or esi, ecx
je 0x46add4
shrd eax, ecx, 1
shr ecx, 1
mov esi, eax
inc edx
or esi, ecx
jne 0x46adc7
mov ecx, dword [esp + 0x40]
push edx
mov eax, ecx
call fcn.00432ae0
push ecx
dec eax
mov ecx, 0xfffffff2
call fcn.0043a2f0
add esp, 8
jmp 0x46ae0d
mov edx, dword [edi]
mov eax, dword [edi + 0x14]
mov ebx, dword [esp + 0x24]
push edx
push 0
push eax
mov eax, dword [ebp + 8]
call fcn.0043ba40
mov ebx, dword [esp + 0x70]
add esp, 0xc
mov edi, dword [esp + 0x28]
mov eax, dword [edi]
test eax, 0x20000000
je 0x46ae39
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
push edi
push ecx
mov ecx, dword [ebp + 8]
push edx
push ebx
push eax
push ecx
call fcn.00454b30
add esp, 0x18
jmp 0x46ae68
test eax, 0xf0000
je 0x46ae68
mov esi, dword [edi + 0x10]
mov edx, dword [ebp + 8]
push esi
push edx
call fcn.0044e2c0
mov edx, dword [edi + 0x20]
mov ecx, dword [esi + 0x14]
mov edi, dword [esp + 0x48]
push 0xfffffffffffffff0
push eax
mov eax, dword [esp + 0x34]
push 0x27
call fcn.004400c0
add esp, 0x14
mov esi, dword [esp + 0x24]
mov eax, dword [ebp + 8]
call fcn.0045f6c0
mov eax, dword [esp + 0x2c]
mov esi, dword [ebx + 0x20]
mov edx, dword [eax + 4]
call fcn.00435d20
add dword [esp + 0x28], 0x50
not eax
and dword [esp + 0x10], eax
not edx
and dword [esp + 0x14], edx
sub dword [esp + 0x34], 1
jne 0x46acf0
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x40]
call fcn.00432ae0
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x10], eax
cmp byte [ecx + 0x1e], 0
jne 0x46ac92
or ebx, 0xffffffff
xor esi, esi
cmp dword [esp + 0x1c], esi
mov dword [esp + 0x14], ebx
jle 0x46af22
mov edi, dword [esp + 0xc]
add edi, 0x64
movzx eax, byte [edi + 8]
mov edx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push esi
lea ecx, [edi - 0x2c]
push ecx
push edx
call fcn.00444520
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x28]
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebx
push edx
push esi
push eax
call fcn.004641e0
mov ecx, dword [edi]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x38]
inc esi
add esp, 0x2c
add edi, 0x50
cmp esi, dword [esp + 0x1c]
mov ebx, eax
mov dword [edx + 0x14], ecx
jl 0x46aed3
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret