Function at 0x49d870
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 0x49d8ad
push 0x40
push str.at_most__d_tables_in_a_join
call fcn.0044c980
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 0x49d8bb
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.0044ac10
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x49d8f8
lea eax, [ebx + 0x264]
push eax
push 0
push edi
call fcn.004f08c0
add esp, 0xc
cmp byte [esi + 0x1e], 0
je 0x49d911
push edi
push esi
call fcn.0044a9d0
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.00464cb0
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.004f08c0
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.004757b0
mov eax, dword [ebp + 0x10]
push 0x45
push eax
push ebx
call fcn.00498f00
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x49d9c5
cmp dword [esp + 0x28], 0
je 0x49d9af
mov eax, dword [ebp + 0x10]
call fcn.00472940
test eax, eax
je 0x49d9c5
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.00475ce0
add esp, 0x10
mov ecx, dword [ebp + 0xc]
xor edx, edx
cmp dx, word [ecx]
mov dword [esp + 0x34], 0
jge 0x49da23
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 0x49da10
test byte [eax + 0x22], 0x10
je 0x49da10
mov ecx, dword [esp + 0x34]
mov eax, 1
xor edx, edx
call fcn.00507590
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 0x49d9e0
mov esi, dword [ebx + 0x14]
sub esi, 1
js 0x49da40
mov edi, dword [ebp + 0xc]
mov edi, edi
push esi
push ebx
push edi
call fcn.00499c50
add esp, 0xc
sub esi, 1
jns 0x49da30
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x1e], 0
jne 0x49dee2
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 0x49de8c
lea esp, [esp]
xor eax, eax
fld qword [0x523b18]
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 0x49dd56
test esi, esi
jge 0x49dd56
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 0x49dd47
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 0x49db40
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 0x49db62
test eax, eax
jne 0x49dd47
mov esi, dword [esp + 0x44]
xor ecx, ecx
add esi, 0x160
cmp dword [esi], ecx
jle 0x49db8c
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x18]
lea eax, [esi + 4]
lea esp, [esp]
cmp dword [eax], edx
je 0x49dbb3
inc ecx
add eax, 4
cmp ecx, dword [esi]
jl 0x49db80
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 0x49dbc5
cmp ebx, dword [esp + 0x40]
jne 0x49dd2e
inc dword [esp + 0x40]
jmp 0x49dd2e
mov eax, 1
xor edx, edx
call fcn.00507590
mov esi, eax
mov edi, edx
jmp 0x49db90
cmp dword [esp + 0x50], 0
je 0x49dbd2
mov ecx, esi
mov edx, edi
jmp 0x49dbda
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x34], 0
jne 0x49dbec
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x49dbec
mov eax, dword [eax]
jmp 0x49dbee
xor eax, eax
mov ebx, dword [esp + 0x14]
cmp dword [ebx + 0x34], 0
jne 0x49dbfc
inc dword [esp + 0x64]
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + 0xc]
test byte [ebx + 0x22], 0x10
je 0x49dc3b
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.0049b1b0
add esp, 0x28
jmp 0x49dc66
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.0049b3a0
add esp, 0x24
cmp dword [esp + 0x50], 0
mov edx, dword [esp + 0x90]
je 0x49dc84
test edx, 0x100f3000
jne 0x49dc84
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 0x49dd23
mov ecx, dword [esp + 0x24]
test ecx, ecx
jl 0x49dcc8
and esi, dword [esp + 0x58]
and edi, dword [esp + 0x5c]
mov eax, esi
or eax, edi
jne 0x49dcc8
test dword [esp + 0x68], 0x100f3000
je 0x49dcc8
test edx, 0x100f3000
je 0x49dd23
cmp dword [esp + 0x64], 0
je 0x49dce1
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x34], 0
je 0x49dce1
test edx, 0x100f3000
je 0x49dd23
test ecx, ecx
jl 0x49ddb2
fld qword [esp + 0x80]
fld qword [esp + 0xa8]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x49ddae
fcompp
fnstsw ax
test ah, 0x41
jp 0x49dd23
fld qword [esp + 0x70]
fcomp qword [esp + 0x98]
fnstsw ax
test ah, 0x41
je 0x49ddb2
mov ebx, dword [esp + 0x54]
cmp dword [esp + 0x4c], 0
jne 0x49dd47
add dword [esp + 0x48], 0x50
add dword [esp + 0x14], 0x38
inc ebx
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x54], ebx
jl 0x49db40
sub dword [esp + 0x50], 1
mov esi, dword [esp + 0x24]
jns 0x49daf4
mov ecx, dword [esp + 0x68]
test ecx, 0x1000000
je 0x49dd6b
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 0x49ddd1
mov ecx, dword [edi + 0x44]
mov dword [eax + 0x20], ecx
inc dword [edi + 0x44]
jmp 0x49ddd8
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 0x49dd27
mov dword [eax + 0x20], 0xffffffff
mov eax, dword [esp + 0x44]
xor ecx, ecx
add eax, 0x160
cmp dword [eax], ecx
jle 0x49de0c
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 0x49de46
inc ecx
add edx, 4
cmp ecx, dword [eax]
jl 0x49de00
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 0x49de54
fmul qword [edi + 0x1c0]
fstp qword [edi + 0x1c0]
jmp 0x49de56
mov eax, 1
xor edx, edx
call fcn.00507590
jmp 0x49de10
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 0x49de74
test dword [esp + 0x68], 0xf0000
je 0x49ded2
mov eax, dword [esp + 0x34]
add dword [esp + 0x38], 0x50
inc eax
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x34], eax
jl 0x49da80
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 0
jne 0x49dee2
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x1e], 0
jne 0x49dee2
mov eax, dword [esp + 0x3c]
and eax, 0x4000000
je 0x49deb7
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x49deb7
mov dword [ecx], 0
test byte [ebp + 0x18], 4
je 0x49df09
test eax, eax
je 0x49df09
mov esi, dword [esp + 0x10]
and dword [esi + 0x30], 0xff7fffff
mov byte [esi + 6], 1
jmp 0x49df0d
mov ecx, dword [eax]
push ecx
push str.cannot_use_index:__s
call fcn.0044c980
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.0049d7d0
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.0047e1e0
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 0x49e256
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 0x49dfb2
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 0x49dfb2
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 8]
add ecx, 0xc
mov edi, edi
cmp dword [ecx], edx
je 0x49dfae
inc eax
add ecx, 0x10
cmp eax, dword [esp + 0x4c]
jl 0x49dfa0
mov dword [esp + 0x24], eax
test byte [esi + 0x22], 2
jne 0x49e12b
cmp dword [esi + 0x1c], 0
jne 0x49e12b
mov ebx, dword [ebx]
test ebx, 0x8000000
je 0x49e09f
mov ebx, dword [esi + 0x34]
xor ecx, ecx
cmp ebx, ecx
je 0x49dfec
mov eax, dword [esp + 0x30]
cmp dword [ebx], eax
je 0x49dfec
mov ebx, dword [ebx + 0x18]
cmp ebx, ecx
jne 0x49dfe1
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 0x49e019
mov edi, eax
call fcn.004649a0
test eax, eax
je 0x49e015
mov eax, 1
jmp 0x49e042
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 0x49e12b
cmp byte [edi + 0x1e], 0
jne 0x49e12b
test eax, eax
jge 0x49e067
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.00464f80
mov dword [esi + 0x10], 0
test ebx, ebx
jne 0x49e090
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x49e12b
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0xf6
inc dword [ebx + 0xc]
jmp 0x49e12b
test ebx, 0x800000
jne 0x49e116
test byte [ebp + 0x18], 0x10
jne 0x49e116
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.00484930
add esp, 0xc
cmp byte [ebx + 6], 0
jne 0x49e12b
cmp dword [esi + 8], 0x40
jge 0x49e12b
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
mov esi, eax
xor edx, edx
or esi, ecx
je 0x49e0fd
lea esp, [esp]
shrd eax, ecx, 1
shr ecx, 1
mov esi, eax
inc edx
or esi, ecx
jne 0x49e0f0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x1c]
push edx
push ecx
dec eax
mov ecx, 0xfffffff2
call fcn.00465120
add esp, 8
jmp 0x49e12b
mov ecx, dword [esi]
mov edx, dword [esi + 0x14]
push ecx
push 0
push edx
push eax
mov eax, dword [ebp + 8]
call fcn.004798a0
add esp, 0x10
mov ebx, dword [esp + 0x38]
mov eax, dword [ebx]
test eax, 0x20000000
je 0x49e15e
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.0049a860
add esp, 0x18
jmp 0x49e1f7
test eax, 0xf0000
je 0x49e1f7
mov esi, dword [ebx + 0x10]
mov edx, dword [ebp + 8]
push esi
push edx
call fcn.0047e730
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.00464a20
mov ecx, dword [esi + 4]
mov edi, dword [esi]
add esp, 0x18
test ecx, ecx
je 0x49e1e9
cmp byte [edi + 0x1e], 0
jne 0x49e1e9
test eax, eax
jge 0x49e1ae
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.00464f80
cmp dword [esp + 0x3c], 0
mov dword [esi + 0x10], 0
jne 0x49e1dc
mov dword [esi + 0x10], 0
mov byte [esi + 1], 0
jmp 0x49e1f7
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x49e1f7
mov ecx, dword [esp + 0x3c]
mov eax, 0xfffffff0
call fcn.00464f80
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp + 8]
push ecx
call fcn.0047e1e0
mov edx, dword [esp + 0x48]
mov edx, dword [edx + 4]
mov eax, dword [edx]
add esp, 4
xor ecx, ecx
test eax, eax
jle 0x49e230
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0x18]
add edx, 4
cmp dword [edx], esi
je 0x49e2dd
inc ecx
add edx, 4
cmp ecx, eax
jl 0x49e220
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 0x49df40
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 0x49dee2
or ebx, 0xffffffff
xor esi, esi
cmp dword [esp + 0x28], esi
mov dword [esp + 0x1c], ebx
jle 0x49e2d2
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.0049c3b0
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.0049c690
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 0x49e284
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.00507590
jmp 0x49e234