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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
push ebx
mov ebx, ecx
mov eax, edx
push esi
push edi
push 0x40
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x30], eax
movzx eax, word [eax]
mov dword [esp + 0x5c], ecx
pop ecx
mov dword [esp + 0x60], ebx
cmp ax, cx
jle 0x4efc52
push ecx
push str.at_most__d_tables_in_a_join
push ebx
call fcn.004b70ac
add esp, 0xc
jmp 0x4f04dc
test byte [ebp + 0x10], 0x80
je 0x4efc5d
xor eax, eax
inc eax
jmp 0x4efc5e
cwde
mov ecx, dword [ebx]
imul edi, eax, 0x50
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
add edi, 0x37
and edi, 0xfffffff8
lea edx, [edi + 0x264]
call fcn.004b5652
mov esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], esi
cmp byte [eax + 0x1e], 0
je 0x4efc9a
push esi
push eax
call fcn.004b54b7
pop ecx
pop ecx
jmp 0x4f04dc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x2c]
mov dword [esi], ebx
mov dword [esi + 8], eax
call fcn.004c806a
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x14], eax
lea eax, [esi + edi]
mov dword [esi + 0x1c], eax
xor edi, edi
push 0x104
mov dword [esp + 0x28], eax
add eax, 0x160
mov word [esi + 4], cx
fld qword [ebx + 0x1c0]
push edi
push eax
fstp qword [esi + 0x20]
mov dword [esp + 0x4c], eax
call sub.MSVCR120.dll_memset
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov edx, ebx
push dword [esp + 0x40]
call fcn.004ec313
add esp, 4
cmp dword [ebx + 0x15c], edi
jne 0x4efd34
mov eax, dword [ebx]
test byte [eax + 0xc], 0x40
jne 0x4efd34
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], 0x4d5633
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], ebx
call fcn.004d1944
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x24]
push 0x45
call fcn.004ec452
pop ecx
cmp dword [ebp + 8], edi
je 0x4efd6e
cmp dword [esp + 0x18], edi
je 0x4efd5d
mov ecx, dword [ebp + 8]
push 3
pop edx
call fcn.004d3c54
test eax, eax
je 0x4efd6e
mov edx, dword [ebp + 8]
mov ecx, ebx
push 8
push dword [esi + 0x14]
call fcn.004d5a57
pop ecx
pop ecx
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ax, word [ecx]
jge 0x4efde5
mov ebx, dword [esp + 0x24]
lea edx, [ecx + 0x14]
mov dword [esp + 0x54], edx
mov esi, edi
mov ecx, dword [ebx + 0x160]
mov eax, dword [edx + 0xc]
mov dword [ebx + ecx*4 + 0x164], eax
inc dword [ebx + 0x160]
mov eax, dword [edx]
test eax, eax
je 0x4efdca
test byte [eax + 0x22], 0x10
je 0x4efdca
xor ecx, ecx
lea eax, [edi + esi]
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
or dword [ebx + 8], ecx
or dword [ebx + 0xc], edx
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
inc esi
add edx, 0x38
mov dword [esp + 0x54], edx
movsx eax, word [ecx]
cmp esi, eax
jl 0x4efd86
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x14]
dec eax
mov dword [esp + 0x1c], eax
js 0x4efe11
mov ebx, dword [esp + 0x24]
mov esi, eax
push esi
mov edx, ebx
call fcn.004ece7a
dec esi
pop ecx
mov ecx, dword [esp + 0x2c]
jns 0x4efdf9
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x1e], 0
jne 0x4f04c6
mov edx, dword [esp + 0x18]
lea eax, [esi + 0x30]
fld1
or ecx, 0xffffffff
mov dword [esp + 0x54], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], eax
test edx, edx
jle 0x4f020a
lea eax, [edx - 1]
mov dword [esp + 0x7c], eax
fld qword [0x5a12b8]
lea edi, [esp + 0x90]
xor eax, eax
mov dword [esp + 0x5c], ecx
push 0xa
pop ecx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x48]
xor edi, edi
cmp ecx, dword [esp + 0x7c]
fst qword [esp + 0x80]
setl al
mov dword [esp + 0x6c], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x64], eax
fstp qword [esp + 0xa8]
test eax, eax
js 0x4f0159
fstp st(0)
fld qword [esp + 0x98]
cmp dword [esp + 0x5c], 0
jge 0x4f011a
imul eax, ecx, 0x38
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
add ecx, 8
add ecx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x44], ecx
cmp eax, edx
jge 0x4f010c
imul eax, eax, 0x50
add eax, 0x78
add eax, esi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
test byte [ecx + 0x15], 0xa
push 0
pop ebx
setne bl
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x60]
cmp eax, dword [esp + 0x48]
je 0x4eff0c
cmp dword [esp + 0x1c], 0
jne 0x4f0108
mov edx, dword [ecx + 0x18]
mov ecx, dword [esp + 0x40]
call fcn.004ec48f
mov ecx, edx
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x3c]
mov esi, eax
mov dword [esp + 0x68], ecx
and esi, edx
and ecx, dword [esp + 0x30]
or esi, ecx
jne 0x4eff4c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jne 0x4f00e1
inc ecx
mov dword [esp + 0x48], ecx
jmp 0x4f00e1
cmp dword [esp + 0x64], 0
fstp st(0)
je 0x4eff5d
mov esi, dword [esp + 0x68]
mov edx, eax
jmp 0x4eff61
mov esi, dword [esp + 0x30]
cmp dword [esp + 0x34], 0
jne 0x4eff73
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4eff73
mov ecx, dword [eax]
jmp 0x4eff75
mov ecx, edi
mov eax, dword [esp + 0x44]
cmp dword [eax + 0x34], edi
jne 0x4eff82
inc dword [esp + 0x6c]
mov eax, dword [eax + 0xc]
test byte [eax + 0x22], 0x10
lea eax, [esp + 0xb8]
je 0x4effb6
push dword [esp + 0x50]
push eax
push ecx
push dword [esp + 0x3c]
mov ecx, ebx
push dword [esp + 0x4c]
push esi
push edx
push dword [esp + 0x60]
mov edx, dword [esp + 0x44]
call fcn.004edf4f
add esp, 0x20
jmp 0x4effd4
push eax
push ecx
push dword [esp + 0x38]
mov ecx, ebx
push dword [esp + 0x48]
push esi
push edx
push dword [esp + 0x5c]
mov edx, dword [esp + 0x40]
call fcn.004ee11b
add esp, 0x1c
cmp dword [esp + 0x64], 0
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x68]
je 0x4efff8
test dword [esp + 0xb8], 0x100f3000
jne 0x4efff8
or dword [esp + 0x78], edx
or dword [esp + 0x74], esi
mov ecx, dword [esp + 0xd8]
mov eax, dword [esp + 0xdc]
and ecx, dword [esp + 0x3c]
and eax, dword [esp + 0x30]
or ecx, eax
jne 0x4f00cf
mov ecx, dword [esp + 0x5c]
test ecx, ecx
js 0x4f0048
and edx, dword [esp + 0x78]
and esi, dword [esp + 0x74]
or edx, esi
jne 0x4f0048
test dword [esp + 0x90], 0x100f3000
je 0x4f0048
test dword [esp + 0xb8], 0x100f3000
je 0x4f00cf
cmp dword [esp + 0x6c], 0
je 0x4f0065
mov eax, dword [esp + 0x44]
cmp dword [eax + 0x34], edi
je 0x4f0065
test dword [esp + 0xb8], 0x100f3000
je 0x4f00cf
test ecx, ecx
js 0x4f009b
fld qword [esp + 0xd0]
fld qword [esp + 0x80]
fcomi st(1)
ja 0x4f0097
fcompi st(1)
fstp st(0)
jb 0x4f00cf
fld qword [esp + 0xc0]
fld qword [esp + 0x98]
fcomi st(1)
fstp st(1)
jbe 0x4f00d6
jmp 0x4f0099
fstp st(1)
fstp st(0)
mov eax, dword [esp + 0x10]
lea esi, [esp + 0xb8]
push 0xa
pop ecx
lea edi, [esp + 0x90]
mov dword [esp + 0x5c], eax
rep movsd dword es:[edi], dword [esi]
fld qword [esp + 0xa8]
xor edi, edi
fstp qword [esp + 0x80]
fld qword [esp + 0x98]
jmp 0x4f00da
fld qword [esp + 0x98]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x1c], 0
jne 0x4f0104
mov ecx, dword [esp + 0x44]
inc eax
add dword [esp + 0x50], 0x50
add ecx, 0x38
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0x44], ecx
cmp eax, edx
jl 0x4efee9
jmp 0x4f0108
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
dec dword [esp + 0x64]
mov ecx, dword [esp + 0x48]
jns 0x4efeae
fld1
fxch st(1)
mov eax, dword [esp + 0x90]
test eax, 0x1000000
je 0x4f0131
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
mov edx, dword [esp + 0x38]
lea esi, [esp + 0x90]
and dword [esp + 0x20], eax
mov edi, edx
push 6
pop ecx
rep movsd dword es:[edi], dword [esi]
test eax, 0x200f0000
je 0x4f0162
mov eax, dword [ebx + 0x44]
mov dword [edx + 0x20], eax
inc dword [ebx + 0x44]
jmp 0x4f0168
fld qword [esp + 0x98]
jmp 0x4f011e
or eax, 0xffffffff
mov dword [edx + 0x20], eax
imul esi, dword [esp + 0x5c], 0x38
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esi + edi + 0x20]
call fcn.004ec48f
mov ecx, dword [esp + 0x38]
not eax
and dword [esp + 0x3c], eax
not edx
and dword [esp + 0x30], edx
fcomi st(1)
mov eax, dword [esp + 0x5c]
mov byte [ecx + 0x34], al
jb 0x4f01ab
fstp st(1)
fmul qword [ebx + 0x1c0]
fstp qword [ebx + 0x1c0]
fld1
jmp 0x4f01ad
fstp st(0)
mov eax, dword [esi + edi + 0x3c]
test eax, eax
je 0x4f01c2
test dword [esp + 0x90], 0xf0000
je 0x4f01e6
mov eax, dword [esp + 0x34]
add ecx, 0x50
mov edx, dword [esp + 0x18]
inc eax
mov esi, dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
cmp eax, edx
jge 0x4f0201
or ecx, 0xffffffff
jmp 0x4efe5a
push dword [eax]
fstp st(0)
push str.cannot_use_index:__s
push ebx
call fcn.004b70ac
add esp, 0xc
mov eax, dword [esp + 0x14]
jmp 0x4f04c8
mov eax, dword [esp + 0x4c]
xor edi, edi
or ecx, 0xffffffff
fstp st(0)
cmp dword [ebx + 0x40], edi
jne 0x4f01f8
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x1e], 0
jne 0x4f04c6
mov edx, dword [esp + 0x20]
and edx, 0x4000000
je 0x4f023e
cmp dword [ebp + 0xc], 0
mov ecx, dword [esp + 0x54]
je 0x4f023e
mov ebx, dword [ebp + 0xc]
mov dword [ebx], edi
mov ebx, dword [esp + 0x60]
test byte [ebp + 0x10], 4
je 0x4f0252
test edx, edx
je 0x4f0252
mov byte [esi + 6], 1
and dword [eax], 0xff7fffff
mov edx, ecx
mov ecx, ebx
call fcn.004db5f2
fld1
or edx, 0xffffffff
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], edx
fstp qword [esi + 0x28]
test ecx, ecx
jle 0x4f0450
mov dword [esp + 0x50], ecx
lea edx, [esi + 0x30]
movzx eax, byte [edx + 0x34]
mov ecx, dword [esp + 0x2c]
fld qword [edx + 8]
add ecx, 8
imul eax, eax, 0x38
add eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
mov dword [edx + 0x1c], eax
fmul qword [esi + 0x28]
mov dword [esp + 0x1c], ecx
fstp qword [esi + 0x28]
mov edx, dword [ecx + 0x44]
mov ecx, dword [esp + 0x14]
call fcn.004e4038
mov ecx, dword [esp + 0x1c]
mov edx, eax
mov dword [esp + 0x40], edx
test byte [ecx + 0x22], 2
jne 0x4f03a8
cmp dword [ecx + 0x1c], edi
jne 0x4f03a8
mov eax, dword [esp + 0x4c]
test dword [eax], 0x8000000
je 0x4f0317
mov edx, ecx
mov ecx, dword [esp + 0x14]
call fcn.004eb6fe
mov edx, dword [esp + 0x10]
mov esi, eax
mov ecx, dword [esp + 0x58]
push edi
push edi
push dword [edx + 0x18]
push 0x7f
pop edx
call fcn.004c7f90
mov ecx, dword [esp + 0x64]
add esp, 0xc
mov edx, eax
push 0xfffffffffffffff6
push esi
call fcn.004c83e8
pop ecx
pop ecx
jmp 0x4f03a8
test dword [eax], 0x800000
jne 0x4f0398
test byte [ebp + 0x10], 0x10
jne 0x4f0398
xor eax, eax
cmp byte [esi + 6], al
setne al
add eax, 0x26
push eax
push ecx
push edx
mov edx, dword [esp + 0x1c]
mov ecx, ebx
mov edx, dword [edx + 0x18]
call fcn.004df2ff
add esp, 0xc
cmp byte [esi + 6], 0
mov esi, dword [esp + 0x10]
jne 0x4f03ac
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 8], 0x40
jge 0x4f03ac
mov edx, dword [esi + 0x28]
mov eax, edx
mov ecx, dword [esi + 0x2c]
or eax, ecx
mov dword [esp + 0x20], edi
je 0x4f037f
mov esi, edi
shrd edx, ecx, 1
shr ecx, 1
mov eax, edx
inc esi
or eax, ecx
jne 0x4f036a
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x58]
mov ecx, eax
push 0xfffffffffffffff2
push dword [esp + 0x24]
mov edx, dword [eax + 0x1c]
dec edx
call fcn.004c83e8
pop ecx
pop ecx
jmp 0x4f03ac
push dword [ecx]
push edi
push dword [ecx + 0x14]
mov ecx, ebx
call fcn.004d820c
add esp, 0xc
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
test dword [eax], 0x20000000
je 0x4f03d2
mov edx, dword [esp + 0x24]
mov ecx, ebx
push eax
push dword [esp + 0x38]
push dword [esp + 0x40]
push esi
call fcn.004ed97e
add esp, 0x10
jmp 0x4f0406
test dword [eax], 0xf0000
je 0x4f0406
mov esi, dword [eax + 0x10]
mov ecx, ebx
mov edx, esi
call fcn.004db95b
mov ecx, dword [esp + 0x58]
push 0xfffffffffffffff0
push eax
push dword [esp + 0x48]
mov eax, dword [esp + 0x58]
push dword [esi + 0x14]
push dword [eax + 0x20]
push 0x26
pop edx
call fcn.004c8007
add esp, 0x14
mov edx, dword [esp + 0x40]
mov ecx, ebx
call fcn.004db5f2
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov edx, dword [edx + 0x18]
mov ecx, dword [eax + 4]
call fcn.004ec48f
mov esi, dword [esp + 0x28]
not edx
and dword [esp + 0x34], edx
not eax
mov edx, dword [esp + 0x4c]
and dword [esp + 0x38], eax
add edx, 0x50
dec dword [esp + 0x50]
mov dword [esp + 0x4c], edx
jne 0x4f027e
mov ecx, dword [esp + 0x18]
or edx, 0xffffffff
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x1e], 0
jne 0x4f04c8
mov dword [esp + 0x1c], edx
test ecx, ecx
jle 0x4f04c2
lea edx, [esi + 0x5c]
mov dword [esp + 0x20], edx
push dword [ebp + 0x10]
movzx eax, byte [edx + 8]
mov ecx, ebx
push eax
lea eax, [edx - 0x2c]
mov edx, dword [esp + 0x34]
push edi
push eax
call fcn.004eec9c
push dword [esp + 0x2c]
mov eax, dword [esp + 0x68]
mov edx, edi
push eax
push dword [ebp + 0x10]
mov ecx, esi
call fcn.004eeef3
mov dword [esp + 0x38], edx
add esp, 0x1c
mov edx, dword [esp + 0x20]
inc edi
mov dword [esp + 0x54], eax
mov ecx, dword [edx]
add edx, 0x50
mov dword [esi + 0x10], ecx
mov dword [esp + 0x20], edx
cmp edi, dword [esp + 0x18]
jl 0x4f0473
mov eax, esi
jmp 0x4f04de
mov eax, edx
mov edx, dword [esp + 0x28]
mov ecx, eax
fld qword [edx + 0x20]
fstp qword [ebx + 0x1c0]
call fcn.004efb78
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret