Function at 0x49d210
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 + 0x2c], eax
movzx eax, word [ecx]
cmp ax, 0x40
jle 0x49d24d
push 0x40
push str.at_most__d_tables_in_a_join
call fcn.0044c320
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [ebp + 0x18], 0x80
mov ebx, 1
jne 0x49d25b
movsx ebx, ax
mov esi, dword [edi]
mov dword [esp + 0x28], ebx
lea ebx, [ebx + ebx*4]
shl ebx, 4
add ebx, 0x37
and ebx, 0xfffffff8
lea ecx, [ebx + 0x264]
mov dword [esp + 0x30], esi
call fcn.0044a5b0
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x49d298
lea eax, [ebx + 0x264]
push eax
push 0
push edi
call fcn.004f0190
add esp, 0xc
cmp byte [esi + 0x1e], 0
je 0x49d2b1
push edi
push esi
call fcn.0044a370
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x28]
mov esi, dword [ebp + 8]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x18], edx
mov dword [edi], esi
call fcn.00464650
mov cx, word [ebp + 0x18]
add ebx, edi
mov dword [edi + 0x14], eax
mov dword [edi + 0x1c], ebx
mov word [edi + 4], cx
fld qword [esi + 0x1c0]
push 0x104
fstp qword [edi + 0x20]
lea esi, [ebx + 0x160]
push 0
push esi
mov dword [esp + 0x50], ebx
call fcn.004f0190
mov eax, dword [ebp + 8]
xor ecx, ecx
lea edx, [ebx + 0x20]
mov dword [ebx + 0x1c], edx
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov dword [ebx], eax
mov dword [ebx + 4], esi
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x18], 8
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
call fcn.00475150
mov eax, dword [ebp + 0x10]
push 0x45
push eax
push ebx
call fcn.004988a0
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x49d365
cmp dword [esp + 0x28], 0
je 0x49d34f
mov eax, dword [ebp + 0x10]
call fcn.004722e0
test eax, eax
je 0x49d365
mov ecx, dword [edi + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push 8
push ecx
push edx
push eax
call fcn.00475680
add esp, 0x10
mov ecx, dword [ebp + 0xc]
xor edx, edx
cmp dx, word [ecx]
mov dword [esp + 0x34], 0
jge 0x49d3c3
lea edi, [ecx + 0x14]
lea ebx, [ebx]
mov eax, dword [esi]
mov edx, dword [edi + 0xc]
mov dword [esi + eax*4 + 4], edx
inc dword [esi]
mov eax, dword [edi]
test eax, eax
je 0x49d3b0
test byte [eax + 0x22], 0x10
je 0x49d3b0
mov ecx, dword [esp + 0x34]
mov eax, 1
xor edx, edx
call fcn.00506e70
or dword [ebx + 8], eax
or dword [ebx + 0xc], edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x34]
movsx edx, word [ecx]
inc eax
add edi, 0x38
cmp eax, edx
mov dword [esp + 0x34], eax
jl 0x49d380
mov esi, dword [ebx + 0x14]
sub esi, 1
js 0x49d3e0
mov edi, dword [ebp + 0xc]
mov edi, edi
push esi
push ebx
push edi
call fcn.004995f0
add esp, 0xc
sub esi, 1
jns 0x49d3d0
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x1e], 0
jne 0x49d882
or eax, 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
xor ecx, ecx
add eax, 0x30
cmp dword [esp + 0x28], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
jle 0x49d82c
lea esp, [esp]
xor eax, eax
fld qword [0x522840]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
fstp qword [esp + 0x80]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x28]
xor ecx, ecx
xor edx, edx
dec eax
or esi, 0xffffffff
cmp dword [esp + 0x40], eax
mov dword [esp + 0x24], esi
setl dl
mov dword [esp + 0x64], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov eax, edx
cmp eax, ecx
mov dword [esp + 0x50], eax
jl 0x49d6f6
test esi, esi
jge 0x49d6f6
mov ebx, dword [esp + 0x40]
mov ecx, dword [ebp + 0xc]
lea eax, [ebx*8]
sub eax, ebx
cmp ebx, dword [esp + 0x28]
lea edx, [ecx + eax*8 + 8]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x14], edx
jge 0x49d6e7
mov ecx, dword [esp + 0x10]
mov eax, ebx
lea eax, [eax + eax*4]
shl eax, 4
lea edx, [eax + ecx + 0x78]
mov dword [esp + 0x48], edx
jmp 0x49d4e0
mov eax, dword [esp + 0x14]
test byte [eax + 0x15], 0xa
mov eax, 0
setne al
mov dword [esp + 0x4c], eax
cmp ebx, dword [esp + 0x40]
je 0x49d502
test eax, eax
jne 0x49d6e7
mov esi, dword [esp + 0x44]
xor ecx, ecx
add esi, 0x160
cmp dword [esi], ecx
jle 0x49d52c
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x18]
lea eax, [esi + 4]
lea esp, [esp]
cmp dword [eax], edx
je 0x49d553
inc ecx
add eax, 4
cmp ecx, dword [esi]
jl 0x49d520
xor esi, esi
xor edi, edi
mov eax, esi
and eax, dword [esp + 0x18]
mov ecx, edi
and ecx, dword [esp + 0x1c]
or eax, ecx
jne 0x49d565
cmp ebx, dword [esp + 0x40]
jne 0x49d6ce
inc dword [esp + 0x40]
jmp 0x49d6ce
mov eax, 1
xor edx, edx
call fcn.00506e70
mov esi, eax
mov edi, edx
jmp 0x49d530
cmp dword [esp + 0x50], 0
je 0x49d572
mov ecx, esi
mov edx, edi
jmp 0x49d57a
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x34], 0
jne 0x49d58c
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x49d58c
mov eax, dword [eax]
jmp 0x49d58e
xor eax, eax
mov ebx, dword [esp + 0x14]
cmp dword [ebx + 0x34], 0
jne 0x49d59c
inc dword [esp + 0x64]
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + 0xc]
test byte [ebx + 0x22], 0x10
je 0x49d5db
mov ebx, dword [esp + 0x48]
push ebx
lea ebx, [esp + 0x94]
push ebx
mov ebx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [ebp + 8]
push ebx
push edx
mov edx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x30]
push ecx
push edx
push eax
call fcn.0049ab50
add esp, 0x28
jmp 0x49d606
lea ebx, [esp + 0x90]
push ebx
mov ebx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [ebp + 8]
push ebx
push edx
mov edx, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.0049ad40
add esp, 0x24
cmp dword [esp + 0x50], 0
mov edx, dword [esp + 0x90]
je 0x49d624
test edx, 0x100f3000
jne 0x49d624
or dword [esp + 0x58], esi
or dword [esp + 0x5c], edi
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
and ecx, dword [esp + 0x1c]
and eax, ebx
or eax, ecx
jne 0x49d6c3
mov ecx, dword [esp + 0x24]
test ecx, ecx
jl 0x49d668
and esi, dword [esp + 0x58]
and edi, dword [esp + 0x5c]
mov eax, esi
or eax, edi
jne 0x49d668
test dword [esp + 0x68], 0x100f3000
je 0x49d668
test edx, 0x100f3000
je 0x49d6c3
cmp dword [esp + 0x64], 0
je 0x49d681
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x34], 0
je 0x49d681
test edx, 0x100f3000
je 0x49d6c3
test ecx, ecx
jl 0x49d752
fld qword [esp + 0x80]
fld qword [esp + 0xa8]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x49d74e
fcompp
fnstsw ax
test ah, 0x41
jp 0x49d6c3
fld qword [esp + 0x70]
fcomp qword [esp + 0x98]
fnstsw ax
test ah, 0x41
je 0x49d752
mov ebx, dword [esp + 0x54]
cmp dword [esp + 0x4c], 0
jne 0x49d6e7
add dword [esp + 0x48], 0x50
add dword [esp + 0x14], 0x38
inc ebx
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x54], ebx
jl 0x49d4e0
sub dword [esp + 0x50], 1
mov esi, dword [esp + 0x24]
jns 0x49d494
mov ecx, dword [esp + 0x68]
test ecx, 0x1000000
je 0x49d70b
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x6c]
and dword [esp + 0x3c], ecx
mov edi, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 0x14], edx
test ecx, 0x200f0000
je 0x49d771
mov ecx, dword [edi + 0x44]
mov dword [eax + 0x20], ecx
inc dword [edi + 0x44]
jmp 0x49d778
fstp st(1)
fstp st(0)
mov ebx, dword [esp + 0x54]
mov ecx, 0xa
lea esi, [esp + 0x90]
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x24], ebx
jmp 0x49d6c7
mov dword [eax + 0x20], 0xffffffff
mov eax, dword [esp + 0x44]
xor ecx, ecx
add eax, 0x160
cmp dword [eax], ecx
jle 0x49d7ac
lea edx, [esi*8]
sub edx, esi
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + edx*8 + 0x20]
lea edx, [eax + 4]
lea ebx, [ebx]
cmp dword [edx], esi
je 0x49d7e6
inc ecx
add edx, 4
cmp ecx, dword [eax]
jl 0x49d7a0
xor eax, eax
xor edx, edx
fld1
mov ecx, dword [esp + 0x24]
fld qword [esp + 0x70]
not eax
and dword [esp + 0x18], eax
fcom st(1)
mov eax, dword [esp + 0x38]
mov byte [eax + 0x34], cl
not edx
and dword [esp + 0x1c], edx
fnstsw ax
fstp st(1)
test ah, 1
jne 0x49d7f4
fmul qword [edi + 0x1c0]
fstp qword [edi + 0x1c0]
jmp 0x49d7f6
mov eax, 1
xor edx, edx
call fcn.00506e70
jmp 0x49d7b0
fstp st(0)
mov eax, dword [ebp + 0xc]
lea edx, [ecx*8]
sub edx, ecx
mov eax, dword [eax + edx*8 + 0x3c]
test eax, eax
je 0x49d814
test dword [esp + 0x68], 0xf0000
je 0x49d872
mov eax, dword [esp + 0x34]
add dword [esp + 0x38], 0x50
inc eax
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x34], eax
jl 0x49d420
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 0
jne 0x49d882
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x1e], 0
jne 0x49d882
mov eax, dword [esp + 0x3c]
and eax, 0x4000000
je 0x49d857
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x49d857
mov dword [ecx], 0
test byte [ebp + 0x18], 4
je 0x49d8a9
test eax, eax
je 0x49d8a9
mov esi, dword [esp + 0x10]
and dword [esi + 0x30], 0xff7fffff
mov byte [esi + 6], 1
jmp 0x49d8ad
mov ecx, dword [eax]
push ecx
push str.cannot_use_index:__s
call fcn.0044c320
add esp, 8
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
fld qword [eax + 0x20]
mov ecx, dword [ebp + 8]
push eax
fstp qword [ecx + 0x1c0]
push edx
call fcn.0049d170
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x10]
or edi, 0xffffffff
push edi
mov eax, edx
call fcn.0047db80
fld1
mov eax, dword [esp + 0x2c]
fstp qword [esi + 0x28]
add esp, 4
lea ebx, [esi + 0x30]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], ebx
test eax, eax
jle 0x49dbf6
mov dword [esp + 0x48], eax
nop
movzx eax, byte [ebx + 0x34]
fld qword [ebx + 8]
mov ecx, dword [esp + 0x10]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + edx*8 + 0x14]
lea edi, [eax + edx*8 + 8]
mov edx, dword [edi + 0x18]
mov dword [ebx + 0x1c], edx
mov eax, 0xfff0bdc0
fmul qword [ecx + 0x28]
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], eax
fstp qword [ecx + 0x28]
mov edx, dword [esi + 0x44]
test edx, edx
je 0x49d952
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 4]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c], ecx
test ecx, ecx
jle 0x49d952
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 8]
add ecx, 0xc
mov edi, edi
cmp dword [ecx], edx
je 0x49d94e
inc eax
add ecx, 0x10
cmp eax, dword [esp + 0x4c]
jl 0x49d940
mov dword [esp + 0x24], eax
test byte [esi + 0x22], 2
jne 0x49dacb
cmp dword [esi + 0x1c], 0
jne 0x49dacb
mov ebx, dword [ebx]
test ebx, 0x8000000
je 0x49da3f
mov ebx, dword [esi + 0x34]
xor ecx, ecx
cmp ebx, ecx
je 0x49d98c
mov eax, dword [esp + 0x30]
cmp dword [ebx], eax
je 0x49d98c
mov ebx, dword [ebx + 0x18]
cmp ebx, ecx
jne 0x49d981
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x18]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 0x1c]
cmp dword [eax + 0x20], esi
jg 0x49d9b9
mov edi, eax
call fcn.00464340
test eax, eax
je 0x49d9b5
mov eax, 1
jmp 0x49d9e2
mov eax, edi
xor ecx, ecx
inc dword [eax + 0x1c]
mov eax, dword [eax + 4]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x4c]
mov byte [eax], 0x7f
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx + 4]
mov edi, dword [ecx]
test esi, esi
je 0x49dacb
cmp byte [edi + 0x1e], 0
jne 0x49dacb
test eax, eax
jge 0x49da07
mov eax, ecx
mov eax, dword [eax + 0x1c]
dec eax
lea ecx, [eax + eax*4]
movsx eax, byte [esi + ecx*4 + 1]
lea esi, [esi + ecx*4]
mov ecx, dword [esi + 0x10]
call fcn.00464920
mov dword [esi + 0x10], 0
test ebx, ebx
jne 0x49da30
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x49dacb
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0xf6
inc dword [ebx + 0xc]
jmp 0x49dacb
test ebx, 0x800000
jne 0x49dab6
test byte [ebp + 0x18], 0x10
jne 0x49dab6
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
xor edx, edx
cmp byte [ebx + 6], dl
setne dl
add edx, 0x26
push edx
push eax
mov eax, dword [edi + 0x18]
push eax
mov eax, esi
call fcn.004842d0
add esp, 0xc
cmp byte [ebx + 6], 0
jne 0x49dacb
cmp dword [esi + 8], 0x40
jge 0x49dacb
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
mov esi, eax
xor edx, edx
or esi, ecx
je 0x49da9d
lea esp, [esp]
shrd eax, ecx, 1
shr ecx, 1
mov esi, eax
inc edx
or esi, ecx
jne 0x49da90
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x1c]
push edx
push ecx
dec eax
mov ecx, 0xfffffff2
call fcn.00464ac0
add esp, 8
jmp 0x49dacb
mov ecx, dword [esi]
mov edx, dword [esi + 0x14]
push ecx
push 0
push edx
push eax
mov eax, dword [ebp + 8]
call fcn.00479240
add esp, 0x10
mov ebx, dword [esp + 0x38]
mov eax, dword [ebx]
test eax, 0x20000000
je 0x49dafe
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ebx
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.0049a200
add esp, 0x18
jmp 0x49db97
test eax, 0xf0000
je 0x49db97
mov esi, dword [ebx + 0x10]
mov edx, dword [ebp + 8]
push esi
push edx
call fcn.0047e0d0
mov ecx, dword [esp + 0x2c]
mov esi, dword [esi + 0x14]
push ecx
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [esp + 0x3c]
push eax
push 0x26
mov eax, esi
call fcn.004643c0
mov ecx, dword [esi + 4]
mov edi, dword [esi]
add esp, 0x18
test ecx, ecx
je 0x49db89
cmp byte [edi + 0x1e], 0
jne 0x49db89
test eax, eax
jge 0x49db4e
mov eax, dword [esi + 0x1c]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea esi, [ecx + edx*4]
mov ecx, dword [esi + 0x10]
call fcn.00464920
cmp dword [esp + 0x3c], 0
mov dword [esi + 0x10], 0
jne 0x49db7c
mov dword [esi + 0x10], 0
mov byte [esi + 1], 0
jmp 0x49db97
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x49db97
mov ecx, dword [esp + 0x3c]
mov eax, 0xfffffff0
call fcn.00464920
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp + 8]
push ecx
call fcn.0047db80
mov edx, dword [esp + 0x48]
mov edx, dword [edx + 4]
mov eax, dword [edx]
add esp, 4
xor ecx, ecx
test eax, eax
jle 0x49dbd0
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0x18]
add edx, 4
cmp dword [edx], esi
je 0x49dc7d
inc ecx
add edx, 4
cmp ecx, eax
jl 0x49dbc0
xor eax, eax
xor edx, edx
not eax
and dword [esp + 0x18], eax
not edx
and dword [esp + 0x1c], edx
add ebx, 0x50
sub dword [esp + 0x48], 1
mov dword [esp + 0x38], ebx
jne 0x49d8e0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x30]
mov dword [esi + 0xc], ecx
cmp byte [edx + 0x1e], 0
jne 0x49d882
or ebx, 0xffffffff
xor esi, esi
cmp dword [esp + 0x28], esi
mov dword [esp + 0x1c], ebx
jle 0x49dc72
mov edi, dword [esp + 0x10]
add edi, 0x5c
mov eax, dword [ebp + 0x18]
movzx ecx, byte [edi + 8]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push esi
lea edx, [edi - 0x2c]
push edx
push eax
mov eax, dword [ebp + 8]
call fcn.0049bd50
mov ecx, dword [esp + 0x30]
mov edx, dword [ebp + 0x18]
mov eax, dword [esp + 0x24]
add esp, 0x14
push ecx
push ebx
push edx
push esi
push eax
call fcn.0049c030
mov ecx, dword [edi]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x24]
inc esi
add esp, 0x14
add edi, 0x50
cmp esi, dword [esp + 0x28]
mov ebx, eax
mov dword [edx + 0x10], ecx
jl 0x49dc24
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
xor edx, edx
call fcn.00506e70
jmp 0x49dbd4