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

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0xb8
push ebx
mov ebx, dword [ebp + 0x70]
push edi
mov edi, dword [ebp + 0x6c]
mov eax, dword [edi + 0xc]
mov dword [ebp + 0x34], eax
movzx eax, word [ebx]
cmp ax, 0x40
jle 0x4c536e
push 0x40
push str.at_most__d_tables_in_a_join
call fcn.004a10e3
pop ecx
pop ecx
xor eax, eax
jmp 0x4c58ad
test byte [ebp + 0x7c], 0x80
je 0x4c537d
mov dword [ebp + 0x58], 1
jmp 0x4c5381
cwde
mov dword [ebp + 0x58], eax
push esi
mov esi, dword [ebp + 0x58]
imul esi, esi, 0x50
add esi, 0x37
and esi, 0xfffffff8
mov eax, edi
mov eax, dword [eax]
lea ecx, [esi + 0x264]
push ecx
mov dword [ebp + 0x40], eax
call fcn.004a71aa
mov edi, eax
mov eax, dword [ebp + 0x40]
cmp byte [eax + 0x1e], 0
pop ecx
mov dword [ebp + 0x50], edi
je 0x4c53bd
push edi
push eax
call fcn.004984ff
pop ecx
jmp 0x4c58a9
mov eax, dword [ebp + 0x58]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 0x6c]
mov dword [edi], eax
mov eax, dword [ebp + 0x34]
mov dword [edi + 8], ebx
call fcn.004a333e
mov dword [edi + 0x14], eax
mov ax, word [ebp + 0x7c]
mov word [edi + 4], ax
mov eax, dword [ebp + 0x6c]
add esi, edi
mov dword [edi + 0x1c], esi
fld qword [eax + 0x1c0]
push 0x104
fstp qword [edi + 0x20]
lea eax, [esi + 0x160]
push 0
push eax
mov dword [ebp + 0x28], esi
mov dword [ebp + 0x44], eax
call fcn.004dbcc0
push dword [ebp + 0x44]
mov ecx, dword [ebp + 0x6c]
mov eax, esi
call fcn.0049f014
push dword [ebp + 0x74]
mov eax, dword [ebp + 0x6c]
call fcn.004c28a3
push 0x45
push dword [ebp + 0x74]
push esi
call fcn.004a65d0
add esp, 0x20
cmp dword [ebp + 0x74], 0
je 0x4c545a
cmp dword [ebp + 0x58], 0
je 0x4c5447
push dword [ebp + 0x74]
call fcn.004a464c
pop ecx
test eax, eax
je 0x4c545a
push 8
push dword [edi + 0x14]
push dword [ebp + 0x74]
push dword [ebp + 0x6c]
call fcn.004c085c
add esp, 0x10
and dword [ebp + 0x48], 0
xor eax, eax
cmp ax, word [ebx]
jge 0x4c54aa
lea eax, [ebx + 0x14]
mov dword [ebp + 0x54], eax
mov eax, dword [ebp + 0x54]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 0x44]
call fcn.0049f072
mov eax, dword [ebp + 0x54]
mov eax, dword [eax]
test eax, eax
je 0x4c549b
test byte [eax + 0x22], 0x10
je 0x4c549b
mov ecx, dword [ebp + 0x48]
xor eax, eax
inc eax
xor edx, edx
call fcn.004ddd00
or dword [esi + 8], eax
or dword [esi + 0xc], edx
movsx eax, word [ebx]
inc dword [ebp + 0x48]
add dword [ebp + 0x54], 0x38
cmp dword [ebp + 0x48], eax
jl 0x4c546b
push esi
push ebx
call fcn.004c5318
mov eax, dword [ebp + 0x40]
cmp byte [eax + 0x1e], 0
pop ecx
pop ecx
jne 0x4c5893
mov eax, dword [ebp + 0x58]
or dword [ebp + 0x5c], 0xffffffff
or dword [ebp + 0x60], 0xffffffff
or dword [ebp + 0x10], 0xffffffff
and dword [ebp + 0x3c], 0
and dword [ebp + 0x48], 0
lea ebx, [edi + 0x30]
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x4c], ebx
test eax, eax
jle 0x4c5799
dec eax
mov dword [ebp - 4], eax
or dword [ebp + 0x38], 0xffffffff
push 0x28
xor esi, esi
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004dbcc0
fld qword [0x502ca0]
mov ecx, dword [ebp + 0x3c]
fstp qword [ebp - 0x14]
xor eax, eax
add esp, 0xc
cmp ecx, dword [ebp - 4]
mov dword [ebp + 0x18], esi
setl al
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x20], esi
cmp eax, esi
mov dword [ebp + 0x54], eax
jl 0x4c56ec
cmp dword [ebp + 0x38], 0
jge 0x4c56ec
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x70]
mov ecx, eax
imul ecx, ecx, 0x38
cmp eax, dword [ebp + 0x58]
mov dword [ebp + 0x30], eax
lea ebx, [ecx + edx + 8]
jge 0x4c56e3
imul eax, eax, 0x50
lea eax, [eax + edi + 0x78]
mov dword [ebp + 0x24], eax
test byte [ebx + 0x15], 0xa
push 0
pop eax
setne al
mov dword [ebp + 0x2c], eax
mov eax, dword [ebp + 0x3c]
cmp dword [ebp + 0x30], eax
je 0x4c5577
cmp dword [ebp + 0x2c], 0
jne 0x4c56e3
push dword [ebx + 0x18]
mov eax, dword [ebp + 0x44]
call fcn.0049f045
pop ecx
mov ecx, edx
mov esi, eax
and eax, dword [ebp + 0x5c]
mov dword [ebp + 4], ecx
and ecx, dword [ebp + 0x60]
or eax, ecx
jne 0x4c55a8
mov eax, dword [ebp + 0x30]
cmp eax, dword [ebp + 0x3c]
jne 0x4c56cd
inc dword [ebp + 0x3c]
jmp 0x4c56cd
xor edx, edx
cmp dword [ebp + 0x54], edx
je 0x4c55b6
mov eax, dword [ebp + 4]
mov ecx, esi
jmp 0x4c55bc
mov ecx, dword [ebp + 0x5c]
mov eax, dword [ebp + 0x60]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0x48], edx
jne 0x4c55cf
mov eax, dword [ebp + 0x78]
cmp eax, edx
je 0x4c55cf
mov eax, dword [eax]
jmp 0x4c55d1
xor eax, eax
cmp dword [ebx + 0x34], edx
jne 0x4c55d9
inc dword [ebp + 0x18]
mov edx, dword [ebx + 0xc]
test byte [edx + 0x22], 0x10
je 0x4c5605
push dword [ebp + 0x24]
lea edx, [ebp - 0x54]
push edx
push eax
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
push dword [ebp + 0xc]
push ecx
push ebx
push dword [ebp + 0x28]
push dword [ebp + 0x6c]
call fcn.004b4760
add esp, 0x28
jmp 0x4c5622
push eax
push dword [ebp + 0x60]
lea eax, [ebp - 0x54]
push dword [ebp + 0x5c]
push dword [ebp + 0xc]
push ecx
push ebx
push dword [ebp + 0x28]
push dword [ebp + 0x6c]
call fcn.004b1f1a
add esp, 0x20
cmp dword [ebp + 0x54], 0
je 0x4c563c
test dword [ebp - 0x54], 0x100f3000
jne 0x4c563c
mov edx, dword [ebp + 4]
or dword [ebp + 0x1c], esi
or dword [ebp + 0x20], edx
jmp 0x4c563f
mov edx, dword [ebp + 4]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
and eax, dword [ebp + 0x5c]
and ecx, dword [ebp + 0x60]
or eax, ecx
jne 0x4c56c7
xor ecx, ecx
cmp dword [ebp + 0x38], ecx
jl 0x4c5673
and esi, dword [ebp + 0x1c]
and edx, dword [ebp + 0x20]
mov eax, esi
or eax, edx
jne 0x4c5673
mov eax, 0x100f3000
test dword [ebp - 0x2c], eax
je 0x4c5678
test dword [ebp - 0x54], eax
je 0x4c56c7
jmp 0x4c5678
mov eax, 0x100f3000
cmp dword [ebp + 0x18], ecx
je 0x4c5687
cmp dword [ebx + 0x34], ecx
je 0x4c5687
test dword [ebp - 0x54], eax
je 0x4c56c7
cmp dword [ebp + 0x38], ecx
jl 0x4c56b3
fld qword [ebp - 0x14]
fcomp qword [ebp - 0x3c]
fnstsw ax
test ah, 0x41
je 0x4c56b3
fld qword [ebp - 0x14]
fcomp qword [ebp - 0x3c]
fnstsw ax
test ah, 1
jne 0x4c56c7
fld qword [ebp - 0x24]
fcomp qword [ebp - 0x4c]
fnstsw ax
test ah, 0x41
jne 0x4c56c7
mov eax, dword [ebp + 0x30]
push 0xa
pop ecx
lea esi, [ebp - 0x54]
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0x50]
mov dword [ebp + 0x38], eax
cmp dword [ebp + 0x2c], 0
jne 0x4c56e3
inc dword [ebp + 0x30]
mov eax, dword [ebp + 0x30]
add dword [ebp + 0x24], 0x50
add ebx, 0x38
cmp eax, dword [ebp + 0x58]
jl 0x4c5558
dec dword [ebp + 0x54]
jns 0x4c5529
test dword [ebp - 0x2c], 0x1000000
je 0x4c56fb
mov eax, dword [ebp + 0x78]
and dword [eax], 0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp + 0x4c]
and dword [ebp + 0x10], eax
push 6
pop ecx
lea esi, [ebp - 0x2c]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0x6c]
test eax, 0x200f0000
je 0x4c5723
mov eax, dword [edi + 0x44]
mov dword [ebx + 0x20], eax
inc dword [edi + 0x44]
jmp 0x4c5727
or dword [ebx + 0x20], 0xffffffff
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x70]
imul eax, eax, 0x38
lea esi, [eax + ecx]
push dword [esi + 0x20]
mov eax, dword [ebp + 0x44]
call fcn.0049f045
not eax
fld1
and dword [ebp + 0x5c], eax
fcomp qword [ebp - 0x24]
mov al, byte [ebp + 0x38]
mov byte [ebx + 0x34], al
not edx
and dword [ebp + 0x60], edx
pop ecx
fnstsw ax
test ah, 0x41
jp 0x4c576a
fld qword [edi + 0x1c0]
fmul qword [ebp - 0x24]
fstp qword [edi + 0x1c0]
mov esi, dword [esi + 0x3c]
test esi, esi
je 0x4c577e
test dword [ebp - 0x2c], 0xf0000
je 0x4c5882
inc dword [ebp + 0x48]
mov eax, dword [ebp + 0x48]
mov edi, dword [ebp + 0x50]
add ebx, 0x50
cmp eax, dword [ebp + 0x58]
mov dword [ebp + 0x4c], ebx
jl 0x4c54ec
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x6c]
cmp dword [eax + 0x40], 0
jne 0x4c5893
mov eax, dword [ebp + 0x40]
cmp byte [eax + 0x1e], 0
jne 0x4c5893
mov eax, dword [ebp + 0x10]
and eax, 0x4000000
je 0x4c57c7
mov ecx, dword [ebp + 0x78]
test ecx, ecx
je 0x4c57c7
and dword [ecx], 0
test byte [ebp + 0x7c], 4
je 0x4c57db
test eax, eax
je 0x4c57db
and dword [ebx], 0xff7fffff
mov byte [edi + 6], 1
mov eax, dword [ebp + 0x6c]
or esi, 0xffffffff
call fcn.004bd999
fld1
mov eax, dword [ebp + 0x58]
fstp qword [edi + 0x28]
mov dword [ebp + 0x5c], esi
mov dword [ebp + 0x60], esi
mov dword [ebp + 0x4c], ebx
test eax, eax
jle 0x4c59bb
mov dword [ebp + 0x2c], eax
mov eax, dword [ebp + 0x4c]
movzx ecx, byte [eax + 0x34]
fld qword [eax + 8]
mov edx, dword [ebp + 0x70]
imul ecx, ecx, 0x38
lea ebx, [ecx + edx + 8]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x18]
mov dword [eax + 0x1c], edx
mov dword [ebp + 0x50], ecx
fmul qword [edi + 0x28]
mov dword [ebp + 0x14], ebx
fstp qword [edi + 0x28]
mov esi, dword [ecx + 0x44]
mov ecx, dword [ebp + 0x40]
call fcn.0049e7d7
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x50]
test byte [eax + 0x22], 2
jne 0x4c5934
xor edx, edx
cmp dword [eax + 0x1c], edx
jne 0x4c5934
mov ecx, dword [ebp + 0x4c]
mov ecx, dword [ecx]
test ecx, 0x8000000
je 0x4c58b4
push 0xfffffffffffffff6
push dword [ebp + 0x40]
call fcn.0049ee3e
pop ecx
push eax
push edx
push edx
push dword [ebx + 0x18]
push dword [ebp + 0x34]
push 0x7f
pop eax
call fcn.004a7b0b
add esp, 0x18
jmp 0x4c5934
push dword [esi]
push str.cannot_use_index:__s
call fcn.004a10e3
mov edi, dword [ebp + 0x50]
pop ecx
pop ecx
fld qword [edi + 0x20]
mov eax, dword [ebp + 0x6c]
push dword [ebp + 0x40]
fstp qword [eax + 0x1c0]
mov ebx, edi
call fcn.004a694f
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
add ebp, 0x64
leave
ret
test ecx, 0x800000
jne 0x4c591d
test byte [ebp + 0x7c], 0x10
jne 0x4c591d
mov esi, dword [ebp + 0x50]
xor eax, eax
cmp byte [edi + 6], al
setne al
add eax, 0x26
push eax
push dword [ebp + 0x44]
push dword [ebx + 0x18]
push dword [ebp + 0x6c]
call fcn.004acc46
add esp, 0x10
cmp byte [edi + 6], 0
jne 0x4c5934
mov eax, esi
cmp dword [eax + 8], 0x40
jge 0x4c5934
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
xor edx, edx
jmp 0x4c5901
shrd eax, ecx, 1
shr ecx, 1
inc edx
mov esi, eax
or esi, ecx
jne 0x4c58fa
mov eax, dword [ebp + 0x34]
push 0xfffffffffffffff2
push edx
call fcn.0049ca71
push dword [ebp + 0x34]
dec eax
call fcn.004a3574
jmp 0x4c5931
push dword [eax]
mov ebx, dword [eax + 0x14]
mov eax, dword [ebp + 0x6c]
push edx
push dword [ebp + 0x44]
call fcn.004a4f1e
mov ebx, dword [ebp + 0x14]
add esp, 0xc
mov eax, dword [ebp + 0x4c]
mov ecx, dword [eax]
test ecx, 0x20000000
je 0x4c5959
push eax
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
push ebx
push dword [ebp + 0x28]
push dword [ebp + 0x6c]
call fcn.004b43e5
add esp, 0x18
jmp 0x4c598a
test ecx, 0xf0000
je 0x4c598a
mov esi, dword [eax + 0x10]
push esi
push dword [ebp + 0x6c]
call fcn.004aff9a
push 0xfffffffffffffff0
push eax
push dword [ebp + 0x44]
mov eax, dword [ebp + 0x4c]
push dword [esi + 0x14]
push dword [eax + 0x20]
push dword [ebp + 0x34]
push 0x26
pop eax
call fcn.004a7b0b
add esp, 0x20
mov esi, dword [ebp + 0x44]
mov eax, dword [ebp + 0x6c]
call fcn.004bd999
mov eax, dword [ebp + 0x28]
push dword [ebx + 0x18]
mov eax, dword [eax + 4]
call fcn.0049f045
add dword [ebp + 0x4c], 0x50
not eax
and dword [ebp + 0x5c], eax
not edx
and dword [ebp + 0x60], edx
dec dword [ebp + 0x2c]
pop ecx
jne 0x4c5802
mov eax, dword [ebp + 0x34]
call fcn.0049ca71
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x40]
cmp byte [eax + 0x1e], 0
jne 0x4c5893
or dword [ebp + 0x5c], 0xffffffff
or dword [ebp + 0x60], 0xffffffff
xor ebx, ebx
cmp dword [ebp + 0x58], ebx
jle 0x4c5a24
lea esi, [edi + 0x5c]
push dword [ebp + 0x7c]
movzx eax, byte [esi + 8]
push eax
push ebx
lea eax, [esi - 0x2c]
push eax
push dword [ebp + 0x70]
mov eax, dword [ebp + 0x6c]
call fcn.004b5905
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
push dword [ebp + 0x7c]
push ebx
push edi
call fcn.004c3353
add esp, 0x28
mov dword [ebp + 0x5c], eax
mov eax, dword [esi]
inc ebx
add esi, 0x50
cmp ebx, dword [ebp + 0x58]
mov dword [ebp + 0x60], edx
mov dword [edi + 0x10], eax
jl 0x4c59e5
mov eax, edi
jmp 0x4c58ac