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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, edx
mov dword [esp + 0x18], ecx
mov edx, dword [ecx + 0xc]
mov dword [esp + 0xc], eax
push esi
movzx eax, word [eax]
mov dword [esp + 0x20], edx
push edi
cmp ax, 0x40
jle 0x4d4640
push 0x40
push str.at_most__d_tables_in_a_join
push ecx
call fcn.0048dbf0
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ecx]
mov dword [esp + 0x44], esi
movsx esi, ax
mov eax, dword [esp + 0x44]
shl esi, 6
add esi, 0x27
and esi, 0xfffffff8
lea edi, [esi + 0x264]
test eax, eax
je 0x4d46cb
add eax, 0x1e
mov dword [esp + 0x4c], eax
cmp byte [eax], 0
je 0x4d4679
mov dword [esp + 0x18], 0
jmp 0x4d470d
mov edx, dword [esp + 0x44]
cmp byte [edx + 0xe2], 0
je 0x4d46cb
movzx eax, word [edx + 0xe0]
cmp edi, eax
jg 0x4d46cb
mov ecx, dword [edx + 0xec]
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x4d46cb
mov eax, dword [ecx]
mov dword [edx + 0xec], eax
mov eax, dword [edx + 0xe4]
inc eax
mov dword [edx + 0xe4], eax
cmp eax, dword [edx + 0xe8]
jle 0x4d46c2
mov dword [edx + 0xe8], eax
lea eax, [edx + 0x1e]
mov dword [esp + 0x4c], eax
jmp 0x4d46f5
push edi
call fcn.0048b6e0
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x4d46ea
test eax, eax
je 0x4d46ea
mov byte [eax + 0x1e], 1
add eax, 0x1e
mov dword [esp + 0x4c], eax
test ecx, ecx
je 0x4d4709
push edi
push 0
push ecx
call fcn.004df090
mov eax, dword [esp + 0x58]
add esp, 0xc
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x20]
cmp byte [eax], 0
jne 0x4d4cb2
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
movsx eax, word [edi]
mov dword [edx + 0x18], eax
mov eax, edx
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], edi
call fcn.0049c760
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x10]
push 0x104
push 0
mov dword [ecx + 0x14], eax
lea eax, [ecx + esi]
lea esi, [eax + 0x160]
mov dword [esp + 0x30], eax
push esi
mov dword [ecx + 0x1c], eax
mov word [ecx + 4], dx
mov dword [esp + 0x80], esi
call fcn.004df090
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov edx, dword [esp + 0x20]
mov dword [esp + 0x88], edx
mov dword [esp + 0x80], 0x4adf50
lea eax, [ecx + 0x20]
mov dword [ecx + 4], esi
mov esi, dword [ebp + 8]
mov dword [ecx], edx
mov edx, esi
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 8
mov dword [ecx + 0x1c], eax
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
lea ecx, [esp + 0x80]
mov dword [esp + 0x84], 0
call fcn.004a6bb0
mov eax, dword [esp + 0x28]
mov byte [eax + 0x10], 0x45
test esi, esi
je 0x4d485c
cmp byte [esi], 0x45
mov ecx, eax
je 0x4d47e8
push 0
mov edx, esi
call fcn.004cfa70
jmp 0x4d4803
mov edx, dword [esi + 8]
push 0x45
call fcn.004cfc00
mov edx, dword [esi + 0xc]
add esp, 4
mov ecx, dword [esp + 0x28]
push 0x45
call fcn.004cfc00
add esp, 4
cmp word [edi], 0
je 0x4d4845
mov edx, esi
mov dword [esp + 0x8c], 3
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], 0x4aa160
mov dword [esp + 0x84], 0x4aa240
call fcn.004a6bb0
cmp dword [esp + 0x8c], 0
je 0x4d485c
mov eax, dword [esp + 0x18]
mov edx, esi
mov ecx, dword [esp + 0x20]
push 8
push dword [eax + 0x14]
call fcn.004ae6c0
add esp, 8
xor eax, eax
xor esi, esi
cmp ax, word [edi]
jge 0x4d48bf
mov edx, dword [esp + 0x74]
add edi, 0x14
nop dword [eax]
mov ecx, dword [edx]
mov eax, dword [edi + 0xc]
mov dword [edx + ecx*4 + 4], eax
inc dword [edx]
mov eax, dword [edi]
test eax, eax
je 0x4d48ac
test byte [eax + 0x22], 0x10
je 0x4d48ac
xor ecx, ecx
mov eax, esi
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [esp + 0x28]
cmovae edx, ecx
or dword [eax + 8], ecx
or dword [eax + 0xc], edx
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x14]
inc esi
add edi, 0x38
movsx eax, word [eax]
cmp esi, eax
jl 0x4d4870
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 0x14]
sub esi, 1
js 0x4d48e6
nop dword [eax + eax]
push esi
mov edx, eax
mov ecx, edi
call fcn.004d0bd0
mov eax, dword [esp + 0x2c]
add esp, 4
sub esi, 1
jns 0x4d48d0
mov eax, dword [esp + 0x4c]
cmp byte [eax], 0
jne 0x4d4cb2
mov edx, dword [esp + 0x18]
xor ecx, ecx
or edi, 0xffffffff
mov dword [esp + 0x50], 0xffffffff
or eax, 0xffffffff
mov dword [esp + 0x64], edi
mov dword [esp + 0x48], eax
lea esi, [edx + 0x20]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
cmp cx, word [esi]
jge 0x4d4ccb
nop
xorps xmm0, xmm0
mov dword [esp + 0x30], 1
movlpd qword [esp + 0xa0], xmm0
or edx, 0xffffffff
movlpd qword [esp + 0xa8], xmm0
movsd xmm0, qword [0x524c48]
mov dword [esp + 0x68], edx
movsd qword [esp + 0x80], xmm0
jmp 0x4d4978
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x48]
test edx, edx
jns 0x4d4b8b
cmp dword [esp + 0x30], 0
je 0x4d49a2
xorps xmm0, xmm0
movlpd qword [esp + 0x58], xmm0
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x7c], edx
jmp 0x4d49aa
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], eax
lea eax, [ecx*8]
mov edi, ecx
sub eax, ecx
lea esi, [esi + eax*8]
mov eax, dword [esp + 0x14]
add esi, 8
mov dword [esp + 0x58], esi
movsx eax, word [eax]
cmp ecx, eax
jge 0x4d4b78
mov edx, dword [esp + 0x18]
mov eax, ecx
shl eax, 6
add edx, 0x5c
add eax, edx
mov dword [esp + 0x70], eax
mov al, byte [esi + 0x15]
and al, 0xa
mov byte [esp + 0x43], al
cmp edi, ecx
je 0x4d49f5
test al, al
jne 0x4d4b78
mov ecx, dword [esp + 0x74]
xor eax, eax
mov edx, dword [ecx]
test edx, edx
jle 0x4d4a13
mov esi, dword [esi + 0x18]
add ecx, 4
cmp dword [ecx], esi
je 0x4d4a54
inc eax
add ecx, 4
cmp eax, edx
jl 0x4d4a07
xorps xmm0, xmm0
movlpd qword [esp + 0x98], xmm0
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
and ecx, dword [esp + 0x64]
and edx, dword [esp + 0x48]
or ecx, edx
jne 0x4d4a6b
mov ecx, dword [esp + 0x6c]
cmp edi, ecx
mov esi, dword [esp + 0x58]
lea eax, [ecx + 1]
cmovne eax, ecx
mov ecx, eax
mov dword [esp + 0x6c], ecx
jmp 0x4d4b5c
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
jmp 0x4d4a2d
cmp dword [esp + 0x1c], 0
jne 0x4d4a7d
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4d4a7d
mov ecx, dword [eax]
jmp 0x4d4a7f
xor ecx, ecx
mov esi, dword [esp + 0x58]
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0xc]
test byte [eax + 0x22], 0x10
lea eax, [esp + 0xd0]
je 0x4d4aba
push dword [esp + 0x70]
push eax
push ecx
push dword [esp + 0x84]
mov ecx, dword [esp + 0x30]
push dword [esp + 0x8c]
push esi
call fcn.004d1b70
add esp, 0x18
jmp 0x4d4ad7
push eax
push ecx
push dword [esp + 0x80]
mov ecx, dword [esp + 0x2c]
push dword [esp + 0x88]
push esi
call fcn.004d1e80
add esp, 0x14
mov ecx, dword [esp + 0xf0]
mov eax, dword [esp + 0xf4]
and ecx, dword [esp + 0x64]
and eax, dword [esp + 0x48]
or ecx, eax
mov ecx, dword [esp + 0x6c]
jne 0x4d4b55
cmp edi, ecx
je 0x4d4b0d
movsd xmm1, qword [esp + 0x80]
comisd xmm1, xmmword [esp + 0xe0]
jbe 0x4d4b55
movaps xmm0, xmmword [esp + 0xd0]
movaps xmmword [esp + 0xa0], xmm0
movaps xmm0, xmmword [esp + 0xe0]
movaps xmmword [esp + 0xb0], xmm0
movq xmm0, qword [esp + 0xf0]
movq qword [esp + 0xc0], xmm0
movsd xmm0, qword [esp + 0xb0]
mov dword [esp + 0x68], edi
movsd qword [esp + 0x80], xmm0
cmp byte [esp + 0x43], 0
jne 0x4d4b78
mov eax, dword [esp + 0x14]
inc edi
add dword [esp + 0x70], 0x40
add esi, 0x38
mov dword [esp + 0x58], esi
movsx eax, word [eax]
cmp edi, eax
jl 0x4d49e0
sub dword [esp + 0x30], 1
mov edi, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
jns 0x4d4970
mov ecx, dword [esp + 0xa0]
test ecx, 0x1000000
je 0x4d4ba3
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov esi, dword [esp + 0x2c]
and dword [esp + 0x50], ecx
and ecx, 0xf0000
movq xmm0, qword [esp + 0xa0]
mov eax, dword [esp + 0xa8]
movq qword [esi], xmm0
mov dword [esi + 8], eax
mov dword [esp + 0x30], ecx
je 0x4d4bdd
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x44]
mov dword [esi + 0x14], eax
inc dword [ecx + 0x44]
jmp 0x4d4be4
mov dword [esi + 0x14], 0xffffffff
mov esi, dword [esp + 0x28]
xor eax, eax
shl edx, 3
sub edx, dword [esp + 0x68]
shl edx, 3
mov esi, dword [esi + 0x160]
test esi, esi
jle 0x4d4c1c
mov ecx, dword [esp + 0x14]
mov edi, dword [edx + ecx + 0x20]
mov ecx, dword [esp + 0x28]
add ecx, 0x164
cmp dword [ecx], edi
je 0x4d4c88
inc eax
add ecx, 4
cmp eax, esi
jl 0x4d4c10
xorps xmm0, xmm0
movlpd qword [esp + 0x80], xmm0
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x68]
not esi
and dword [esp + 0x48], esi
not ecx
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x64]
and edi, ecx
mov dword [esp + 0x64], edi
mov byte [esi + 0x28], al
mov esi, dword [esp + 0x14]
mov eax, dword [edx + esi + 0x3c]
test eax, eax
je 0x4d4c66
cmp dword [esp + 0x30], 0
je 0x4d4c9f
mov ecx, dword [esp + 0x1c]
movsx eax, word [esi]
inc ecx
add dword [esp + 0x2c], 0x40
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jge 0x4d4cc7
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x48]
jmp 0x4d4930
xor ecx, ecx
xor esi, esi
bts ecx, eax
cmp eax, 0x20
cmovae esi, ecx
xor ecx, esi
cmp eax, 0x40
cmovae esi, ecx
jmp 0x4d4c36
push dword [eax]
push str.cannot_use_index:__s
push dword [esp + 0x28]
call fcn.0048dbf0
add esp, 0xc
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
call fcn.004d43e0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
cmp dword [edi + 0x40], 0
jne 0x4d4cb2
mov eax, dword [esp + 0x4c]
cmp byte [eax], 0
jne 0x4d4cb2
mov eax, dword [esp + 0x50]
and eax, 0x4000000
mov dword [esp + 0x50], eax
je 0x4d4cfe
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4d4cfa
mov dword [eax], 0
mov eax, dword [esp + 0x50]
test byte [ebp + 0x10], 4
je 0x4d4d13
test eax, eax
je 0x4d4d13
mov byte [edx + 6], 1
and dword [edx + 0x20], 0xff7fffff
cmp dword [edi + 0x15c], 0
jne 0x4d4d96
mov esi, dword [edi + 0xc]
test esi, esi
jne 0x4d4d37
mov ecx, dword [edi]
call fcn.0049c540
mov esi, eax
mov dword [edi + 0xc], esi
test esi, esi
je 0x4d4d96
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x4d4d51
mov ecx, esi
call fcn.0049c600
test eax, eax
je 0x4d4d51
mov edi, 1
jmp 0x4d4d89
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esp + 0x20]
lea eax, [edi + 1]
mov dword [ecx + 0x15c], eax
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x30], 0
cmp ax, word [edx]
jge 0x4d5076
nop dword [eax]
mov eax, dword [esp + 0x54]
mov edi, 0xfff0bdc0
movzx eax, byte [eax + 0x28]
lea ecx, [eax*8]
sub ecx, eax
mov dword [esp + 0x2c], ecx
mov esi, dword [edx + ecx*8 + 0x14]
mov edx, dword [esi + 0x40]
test edx, edx
je 0x4d4df8
mov eax, dword [esp + 0x44]
xor edi, edi
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x4d4df4
mov eax, dword [eax + 8]
add eax, 0xc
cmp dword [eax], edx
je 0x4d4df4
inc edi
add eax, 0x10
cmp edi, ecx
jl 0x4d4de8
mov ecx, dword [esp + 0x2c]
test byte [esi + 0x22], 2
jne 0x4d5059
cmp dword [esi + 0x1c], 0
jne 0x4d5059
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
test eax, 0x8000000
je 0x4d4ecb
mov esi, dword [esi + 0x30]
test esi, esi
je 0x4d4e33
mov eax, dword [esp + 0x44]
cmp dword [esi], eax
je 0x4d4e33
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x4d4e28
mov eax, dword [esp + 0x14]
mov eax, dword [eax + ecx*8 + 0x20]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x1c], edx
cmp dword [eax + 0x10], edx
jg 0x4d4e7b
mov ecx, eax
call fcn.0049c600
test eax, eax
je 0x4d4e73
mov ecx, dword [esp + 0x24]
mov edx, 1
push 0xfffffffffffffff6
push esi
call fcn.0049cc60
add esp, 8
jmp 0x4d4f9d
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
inc dword [eax + 0xc]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 0x14]
mov edx, dword [esp + 0x58]
push 0xfffffffffffffff6
push esi
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x7c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x2c]
mov byte [ecx + 0x6e], 0
call fcn.0049cc60
add esp, 8
jmp 0x4d4f9d
test eax, 0x800000
jne 0x4d4f9d
test byte [ebp + 0x10], 0x10
jne 0x4d4f9d
mov edx, dword [esp + 0x18]
xor eax, eax
cmp byte [edx + 6], al
setne al
add eax, 0x26
push eax
mov eax, dword [esp + 0x18]
push esi
push edi
mov edx, dword [eax + ecx*8 + 0x20]
mov ecx, dword [esp + 0x2c]
call fcn.004ba800
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp byte [eax + 6], 0
jne 0x4d4f9d
cmp dword [esi + 0xc], 0x40
jge 0x4d4f9d
mov eax, dword [esp + 0x2c]
xor esi, esi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], esi
mov edx, dword [ecx + eax*8 + 0x30]
mov ecx, dword [ecx + eax*8 + 0x34]
mov eax, edx
or eax, ecx
je 0x4d4f51
nop word [eax + eax]
shrd edx, ecx, 1
inc esi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x4d4f40
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x58], eax
test eax, eax
je 0x4d4f8f
cmp byte [ecx + 0x1e], 0
jne 0x4d4f8f
lea esi, [edx + edx*4]
push dword [eax + esi*4 - 4]
movsx edx, byte [eax + esi*4 - 0x13]
call fcn.0049ca30
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x20]
mov dword [ecx + esi*4 - 4], eax
mov byte [ecx + esi*4 - 0x13], 0xf2
jmp 0x4d4f9a
push esi
mov edx, 0xfffffff2
call fcn.0049ca30
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov eax, dword [ecx + eax*8 + 0x20]
mov ecx, dword [esp + 0x54]
test dword [ecx], 0xf0000
mov dword [ecx + 0x10], eax
je 0x4d504e
mov esi, dword [ecx + 8]
mov edx, esi
mov ecx, dword [esp + 0x20]
call fcn.004b6490
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0xc]
cmp dword [eax + 0x10], esi
jg 0x4d5006
mov ecx, eax
call fcn.0049c600
test eax, eax
je 0x4d5002
mov ecx, dword [esp + 0x24]
mov esi, 1
jmp 0x4d503e
mov eax, dword [esp + 0x24]
inc dword [eax + 0xc]
lea ecx, [esi + esi*4]
mov eax, dword [eax + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x58]
mov word [eax + ecx*4], 0x26
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x24]
mov byte [ecx + 0x6e], 0
push 0xfffffffffffffff0
push dword [esp + 0x74]
mov edx, esi
call fcn.0049cc60
add esp, 8
mov ecx, dword [esp + 0x20]
mov edx, edi
call fcn.004b6330
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
add dword [esp + 0x54], 0x40
inc ecx
mov dword [esp + 0x30], ecx
movsx eax, word [edx]
cmp ecx, eax
jl 0x4d4db0
mov eax, dword [esp + 0x24]
xor edi, edi
mov ecx, dword [esp + 0x18]
or edx, 0xffffffff
xor esi, esi
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
or eax, 0xffffffff
mov ecx, dword [esp + 0x14]
cmp di, word [ecx]
jge 0x4d50d3
mov ecx, dword [esp + 0x18]
lea edi, [ecx + 0x40]
jmp 0x4d50a4
mov ecx, dword [esp + 0x18]
push edx
push eax
push dword [ebp + 0x10]
mov edx, esi
call fcn.004d2c50
mov ecx, dword [edi]
lea edi, [edi + 0x40]
mov dword [esp + 0x28], eax
inc esi
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
movsx ecx, word [ecx]
cmp esi, ecx
jl 0x4d50a0
mov eax, dword [esp + 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret