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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, edx
mov dword [esp + 0xc], ecx
mov edx, dword [ecx + 0xc]
push ebx
mov dword [esp + 0xc], eax
movzx eax, word [eax]
mov dword [esp + 0x14], edx
push esi
push edi
cmp ax, 0x40
jle 0x4d7222
push 0x40
push str.at_most__d_tables_in_a_join
push ecx
call fcn.004936e0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ecx]
movsx esi, ax
shl esi, 6
add esi, 0x27
mov dword [esp + 0x24], ebx
and esi, 0xfffffff8
lea edi, [esi + 0x264]
test ebx, ebx
je 0x4d72a4
add ebx, 0x1e
mov dword [esp + 0x20], ebx
cmp byte [ebx], 0
je 0x4d7257
mov dword [esp + 0x10], 0
jmp 0x4d72e2
mov edx, dword [esp + 0x24]
cmp byte [edx + 0xe2], 0
je 0x4d72a2
movzx eax, word [edx + 0xe0]
cmp edi, eax
jg 0x4d72a2
mov ecx, dword [edx + 0xec]
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x4d72a2
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 0x4d72ca
mov dword [edx + 0xe8], eax
jmp 0x4d72ca
mov ebx, edx
push edi
call fcn.00491390
mov ecx, eax
add esp, 4
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x4d72bf
test ebx, ebx
je 0x4d72bf
mov byte [ebx + 0x1e], 1
add ebx, 0x1e
mov dword [esp + 0x20], ebx
test ecx, ecx
je 0x4d72da
push edi
push 0
push ecx
call fcn.004e1ab0
add esp, 0xc
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp byte [ebx], 0
jne 0x4d77dd
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
movsx eax, word [edi]
mov dword [ebx + 0x18], eax
mov eax, ebx
mov dword [eax], ecx
mov ecx, edx
mov dword [eax + 8], edi
call fcn.004a1770
mov edx, dword [ebp + 0x10]
mov ecx, ebx
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 + 0x58], esi
call fcn.004e1ab0
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov edx, dword [esp + 0x18]
mov dword [esp + 0x68], edx
mov dword [esp + 0x60], 0x4b2b00
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 + 0x60]
mov dword [esp + 0x64], 0
call fcn.004ab750
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov byte [eax + 0x10], 0x45
test esi, esi
je 0x4d740f
cmp byte [esi], 0x45
mov ecx, eax
je 0x4d73aa
push 0
mov edx, esi
call fcn.004d28f0
jmp 0x4d73c5
mov edx, dword [esi + 8]
push 0x45
call fcn.004d2b20
mov edx, dword [esi + 0xc]
add esp, 4
mov ecx, dword [esp + 0x28]
push 0x45
call fcn.004d2b20
add esp, 4
cmp word [edi], 0
je 0x4d73f8
mov edx, esi
mov dword [esp + 0x6c], 3
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], 0x4aef20
mov dword [esp + 0x64], 0x4af000
call fcn.004ab750
cmp dword [esp + 0x6c], 0
je 0x4d740f
mov eax, dword [esp + 0x10]
mov edx, esi
mov ecx, dword [esp + 0x18]
push 8
push dword [eax + 0x14]
call fcn.004b3260
add esp, 8
xor eax, eax
xor esi, esi
cmp ax, word [edi]
jge 0x4d7469
mov ebx, dword [esp + 0x14]
add edi, 0x14
mov edx, dword [esp + 0x4c]
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 0x4d7456
test byte [eax + 0x22], 0x10
je 0x4d7456
mov eax, 1
xor edx, edx
mov ecx, esi
call fcn.00504310
mov ecx, dword [esp + 0x28]
or dword [ecx + 8], eax
or dword [ecx + 0xc], edx
mov edx, dword [esp + 0x4c]
movsx eax, word [ebx]
inc esi
add edi, 0x38
cmp esi, eax
jl 0x4d7423
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 0x14]
sub esi, 1
js 0x4d748d
mov ebx, eax
push esi
mov edx, ebx
mov ecx, edi
call fcn.004d3ac0
add esp, 4
sub esi, 1
jns 0x4d7477
mov ebx, dword [esp + 0x20]
cmp byte [ebx], 0
jne 0x4d77dd
mov edi, dword [esp + 0x10]
xor ecx, ecx
or eax, 0xffffffff
mov dword [esp + 0x48], 0xffffffff
or edx, 0xffffffff
mov dword [esp + 0x30], eax
xor ebx, ebx
mov dword [esp + 0x34], edx
lea esi, [edi + 0x20]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x5c], ecx
cmp bx, word [esi]
jge 0x4d77f3
fld qword [0x52b178]
or ebx, 0xffffffff
fst qword [esp + 0x60]
mov edi, 1
mov dword [esp + 0x2c], ebx
fstp qword [esp + 0x80]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x40], edi
test ebx, ebx
jns 0x4d76d8
test edi, edi
je 0x4d752f
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
jmp 0x4d7537
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edx
lea eax, [ecx*8]
mov ebx, ecx
sub eax, ecx
inc eax
lea edi, [esi + eax*8]
movsx eax, word [esi]
mov dword [esp + 0x38], edi
cmp ecx, eax
jge 0x4d76bf
mov edx, dword [esp + 0x10]
mov eax, ecx
add edx, 0x5c
shl eax, 6
add eax, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x58], eax
jmp 0x4d7570
mov al, byte [edi + 0x15]
and al, 0xa
mov byte [esp + 0x3f], al
cmp ebx, ecx
je 0x4d7585
test al, al
jne 0x4d76bf
mov eax, dword [esp + 0x4c]
xor ecx, ecx
mov edx, dword [eax]
test edx, edx
jle 0x4d75a3
mov esi, dword [edi + 0x18]
add eax, 4
cmp dword [eax], esi
je 0x4d75cf
inc ecx
add eax, 4
cmp ecx, edx
jl 0x4d7597
xor eax, eax
xor edx, edx
mov esi, dword [esp + 0x30]
and eax, esi
and edx, dword [esp + 0x34]
or eax, edx
jne 0x4d75dd
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
cmp ebx, ecx
jne 0x4d769d
inc ecx
mov dword [esp + 0x20], ecx
jmp 0x4d769d
mov eax, 1
xor edx, edx
call fcn.00504310
jmp 0x4d75a7
cmp dword [esp + 0x5c], 0
jne 0x4d75ef
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4d75ef
mov ecx, dword [eax]
jmp 0x4d75f1
xor ecx, ecx
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0x28]
test byte [eax + 0x22], 0x10
lea eax, [esp + 0x98]
je 0x4d7622
push dword [esp + 0x58]
push eax
push ecx
push dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
push dword [esp + 0x64]
push edi
call fcn.004d4a50
add esp, 0x18
jmp 0x4d7639
push eax
push ecx
push dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
push dword [esp + 0x60]
push edi
call fcn.004d4d80
add esp, 0x14
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0xbc]
and ecx, esi
mov edx, dword [esp + 0x34]
and eax, edx
or ecx, eax
mov ecx, dword [esp + 0x20]
jne 0x4d7696
cmp ebx, ecx
je 0x4d766d
fld qword [esp + 0x60]
fcomp qword [esp + 0xa8]
fnstsw ax
test ah, 0x41
jne 0x4d7696
mov ecx, 0xa
mov dword [esp + 0x2c], ebx
lea esi, [esp + 0x98]
lea edi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
fld qword [esp + 0x80]
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
fstp qword [esp + 0x60]
cmp byte [esp + 0x3f], 0
jne 0x4d76bb
mov esi, dword [esp + 0x14]
inc ebx
add dword [esp + 0x58], 0x40
add edi, 0x38
mov dword [esp + 0x38], edi
movsx eax, word [esi]
cmp ebx, eax
jl 0x4d7570
jmp 0x4d76bf
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
sub edi, 1
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x40], edi
jns 0x4d7511
mov edi, dword [esp + 0x70]
mov ebx, dword [ebp + 0xc]
test edi, 0x1000000
je 0x4d76ed
mov dword [ebx], 0
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x74]
and dword [esp + 0x48], edi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x78]
mov dword [edx + 8], eax
test edi, 0xf0000
je 0x4d771c
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x44]
mov dword [edx + 0x14], eax
inc dword [ecx + 0x44]
jmp 0x4d7723
mov dword [edx + 0x14], 0xffffffff
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov edx, dword [eax + 0x160]
test edx, edx
jle 0x4d775c
mov eax, dword [esp + 0x2c]
shl eax, 3
sub eax, dword [esp + 0x2c]
mov esi, dword [esi + eax*8 + 0x20]
mov eax, dword [esp + 0x28]
add eax, 0x164
jmp 0x4d7750
cmp dword [eax], esi
je 0x4d77bc
inc ecx
add eax, 4
cmp ecx, edx
jl 0x4d7750
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x2c]
not eax
and dword [esp + 0x30], eax
not edx
and dword [esp + 0x34], edx
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x14]
lea eax, [ecx*8]
sub eax, ecx
mov byte [edx + 0x28], cl
mov eax, dword [esi + eax*8 + 0x3c]
test eax, eax
je 0x4d7794
test edi, 0xf0000
je 0x4d77ca
mov ecx, dword [esp + 0x5c]
add edx, 0x40
movsx eax, word [esi]
inc ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x44], edx
cmp ecx, eax
jge 0x4d77f8
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
jmp 0x4d74d0
mov eax, 1
xor edx, edx
call fcn.00504310
jmp 0x4d7760
push dword [eax]
push str.cannot_use_index:__s
push dword [esp + 0x20]
call fcn.004936e0
add esp, 0xc
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
call fcn.004d7100
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0xc]
jmp 0x4d77fc
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
cmp dword [eax + 0x40], 0
jne 0x4d77e1
cmp byte [ecx + 0x1e], 0
jne 0x4d77e1
mov eax, dword [esp + 0x48]
and eax, 0x4000000
je 0x4d7825
test ebx, ebx
je 0x4d7825
mov dword [ebx], 0
test byte [ebp + 0x10], 4
je 0x4d783a
test eax, eax
je 0x4d783a
mov byte [edi + 6], 1
and dword [edi + 0x20], 0xff7fffff
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0x15c], 0
jne 0x4d78b9
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x4d785e
mov ecx, dword [ebx]
call fcn.004a1540
mov esi, eax
mov dword [ebx + 0xc], esi
test esi, esi
je 0x4d78b9
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x4d7878
mov ecx, esi
call fcn.004a1610
test eax, eax
je 0x4d7878
mov edi, 1
jmp 0x4d78b0
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
lea eax, [edi + 1]
mov dword [ebx + 0x15c], eax
mov ecx, dword [esp + 0x10]
xor eax, eax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], 0
lea ebx, [ecx + 0x20]
mov dword [esp + 0x2c], ebx
cmp ax, word [edx]
jge 0x4d7b8b
jmp 0x4d78e0
movzx eax, byte [ebx + 0x28]
mov edi, 0xfff0bdc0
lea ecx, [eax*8]
sub ecx, eax
mov dword [esp + 0x30], ecx
mov esi, dword [edx + ecx*8 + 0x14]
mov edx, dword [esi + 0x40]
test edx, edx
je 0x4d7924
mov eax, dword [esp + 0x24]
xor edi, edi
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x4d7920
mov eax, dword [eax + 8]
add eax, 0xc
cmp dword [eax], edx
je 0x4d7920
inc edi
add eax, 0x10
cmp edi, ecx
jl 0x4d7914
mov ecx, dword [esp + 0x30]
test byte [esi + 0x22], 2
jne 0x4d7b68
cmp dword [esi + 0x1c], 0
jne 0x4d7b68
mov eax, dword [ebx]
test eax, 0x8000000
je 0x4d79eb
mov esi, dword [esi + 0x30]
test esi, esi
je 0x4d795b
mov eax, dword [esp + 0x24]
cmp dword [esi], eax
je 0x4d795b
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x4d7950
mov eax, dword [esp + 0x14]
mov eax, dword [eax + ecx*8 + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax + 0xc]
cmp dword [eax + 0x10], ebx
jg 0x4d799d
mov ecx, eax
call fcn.004a1610
test eax, eax
je 0x4d7999
mov ecx, dword [esp + 0x1c]
mov ebx, 1
push 0xfffffffffffffff6
push esi
mov edx, ebx
call fcn.004a1c70
add esp, 8
jmp 0x4d7ab0
mov eax, dword [esp + 0x1c]
inc dword [eax + 0xc]
lea ecx, [ebx + ebx*4]
mov eax, dword [eax + 0x14]
mov edx, dword [esp + 0x38]
push 0xfffffffffffffff6
push esi
mov dword [eax + ecx*4 + 4], edx
mov edx, ebx
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 + 0x24]
mov byte [ecx + 0x6e], 0
call fcn.004a1c70
add esp, 8
jmp 0x4d7ab0
test eax, 0x800000
jne 0x4d7ab4
test byte [ebp + 0x10], 0x10
jne 0x4d7ab4
mov edx, dword [esp + 0x10]
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 + 0x24]
call fcn.004beac0
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp byte [eax + 6], 0
jne 0x4d7ab4
cmp dword [esi + 0xc], 0x40
jge 0x4d7ab4
mov eax, dword [esp + 0x30]
xor ebx, ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + eax*8 + 0x30]
mov ecx, dword [ecx + eax*8 + 0x34]
mov eax, edx
or eax, ecx
je 0x4d7a5f
shrd edx, ecx, 1
inc ebx
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x4d7a52
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0xc]
mov esi, dword [ecx]
dec eax
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x4d7aa0
cmp byte [esi + 0x1e], 0
jne 0x4d7aa0
lea esi, [eax + eax*4]
push dword [ecx + esi*4 + 0x10]
movsx edx, byte [ecx + esi*4 + 1]
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
call fcn.004a1910
mov eax, dword [esp + 0x3c]
mov dword [eax + esi*4 + 0x10], ebx
mov byte [eax + esi*4 + 1], 0xf2
jmp 0x4d7aad
push ebx
mov edx, 0xfffffff2
mov ecx, esi
call fcn.004a1910
add esp, 4
mov ebx, dword [esp + 0x2c]
test dword [ebx], 0xf0000
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*8 + 0x20]
mov dword [ebx + 0x10], eax
je 0x4d7b5d
mov esi, dword [ebx + 8]
mov edx, esi
mov ecx, dword [esp + 0x18]
call fcn.004bac60
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + 0xc]
cmp dword [eax + 0x10], esi
jg 0x4d7b15
mov ecx, eax
call fcn.004a1610
test eax, eax
je 0x4d7b11
mov ecx, dword [esp + 0x1c]
mov esi, 1
jmp 0x4d7b4d
mov eax, dword [esp + 0x1c]
inc dword [eax + 0xc]
lea ecx, [esi + esi*4]
mov eax, dword [eax + 0x14]
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
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 + 0x1c]
mov byte [ecx + 0x6e], 0
push 0xfffffffffffffff0
push dword [esp + 0x48]
mov edx, esi
call fcn.004a1c70
add esp, 8
mov ecx, dword [esp + 0x18]
mov edx, edi
call fcn.004bab00
mov edx, dword [esp + 0x14]
add ebx, 0x40
mov ecx, dword [esp + 0x40]
inc ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x40], ecx
movsx eax, word [edx]
cmp ecx, eax
jl 0x4d78e0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
xor edi, edi
mov ebx, dword [esp + 0x14]
or edx, 0xffffffff
xor esi, esi
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
or eax, 0xffffffff
cmp di, word [ebx]
jge 0x4d7bdc
lea edi, [ecx + 0x40]
jmp 0x4d7bb0
push edx
push eax
push dword [ebp + 0x10]
mov edx, esi
call fcn.004d59b0
mov ebx, dword [esp + 0x1c]
lea edi, [edi + 0x40]
mov ecx, dword [edi - 0x40]
inc esi
add esp, 0xc
mov dword [ebx + 0x10], ecx
mov ebx, dword [esp + 0x14]
movsx ecx, word [ebx]
cmp esi, ecx
mov ecx, dword [esp + 0x10]
jl 0x4d7bb0
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret