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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x188
mov eax, dword [0x763480]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.00518990
test eax, eax
je 0x5183d6
mov eax, dword [esi + 0x70]
xor edi, edi
mov ecx, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0xc], edi
call fcn.00513f90
test eax, eax
je 0x5183d6
lea edx, [esi + 0x40]
mov dword [esp + 0x38], edx
mov ecx, dword [esi + 0x64]
lea eax, [edi + edi*2]
shl eax, 4
add ecx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov ecx, edx
call fcn.004b4b40
mov ecx, dword [esp + 0x1c]
movzx eax, al
push eax
call fcn.0051ece0
test eax, eax
je 0x5183bd
mov ecx, dword [esi + 0x38]
push edi
call fcn.00513e70
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0xac], 0x3f800000
mov dword [esp + 0x98], 0x3f800000
mov dword [esp + 0x84], 0x3f800000
mov dword [esp + 0x70], 0x3f800000
sub eax, 1
je 0x517edf
sub eax, 1
je 0x517dd3
sub eax, 1
jne 0x517daf
movss xmm0, dword [esi + 0x10]
lea eax, [esp + 0x64]
push eax
push ecx
mov ecx, dword [esi + 0x38]
movss dword [esp], xmm0
call fcn.0051ce10
mov ecx, dword [0x77777c]
mov esi, dword [esi + 0x38]
call fcn.005201b0
mov eax, dword [esp + 0x14]
fsubr dword [eax + 0x10]
lea eax, [esp + 0xf0]
push eax
push ecx
mov ecx, esi
fstp dword [esp + 0x28]
movss xmm0, dword [esp + 0x28]
movss dword [esp], xmm0
call fcn.0051ce10
movss xmm2, dword [esp + 0x64]
movss xmm1, dword [esp + 0x68]
subss xmm1, dword [esp + 0xf4]
subss xmm2, dword [esp + 0xf0]
movss xmm0, dword [esp + 0x6c]
subss xmm0, dword [esp + 0xf8]
movss dword [esp + 0x68], xmm1
movss dword [esp + 0x64], xmm2
mulss xmm1, xmm1
mulss xmm2, xmm2
movss dword [esp + 0x6c], xmm0
mulss xmm0, xmm0
addss xmm1, xmm2
addss xmm1, xmm0
comiss xmm1, dword [0x6b6854]
jbe 0x517dab
lea eax, [esp + 0x64]
push eax
push eax
call fcn.00401277
movss xmm4, dword [esp + 0x64]
xorps xmm2, xmm2
movss xmm1, dword [esp + 0x6c]
movss xmm3, dword [esp + 0x68]
movss xmm7, dword [0x6a5a90]
ucomiss xmm2, xmm4
movss dword [esp + 0x24], xmm4
movss dword [esp + 0x20], xmm1
lahf
test ah, 0x44
jp 0x517c95
ucomiss xmm7, xmm3
lahf
test ah, 0x44
jp 0x517c95
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x517c95
movaps xmm0, xmmword [0x6b6870]
movups xmmword [esp + 0x44], xmm0
jmp 0x517d9c
movaps xmm0, xmm4
movaps xmm5, xmm3
xorps xmm0, xmmword [0x69d280]
movaps xmm6, xmm1
xorps xmm5, xmmword [0x69d280]
xorps xmm6, xmmword [0x69d280]
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x517cdf
ucomiss xmm7, xmm5
lahf
test ah, 0x44
jp 0x517cdf
ucomiss xmm2, xmm6
lahf
test ah, 0x44
jp 0x517cdf
movaps xmm0, xmmword [0x6b6860]
movups xmmword [esp + 0x44], xmm0
jmp 0x517d9c
movaps xmm0, xmm3
mulss xmm1, xmm2
mulss xmm3, dword [0x69d1f0]
mulss xmm0, xmm2
movss dword [esp + 0x30], xmm1
movss dword [esp + 8], xmm0
movaps xmm0, xmm4
mulss xmm0, xmm2
movss dword [esp + 0x2c], xmm0
subss xmm0, xmm3
addss xmm0, xmm1
xorps xmm1, xmm1
addss xmm0, dword [0x69d1f0]
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x517d31
sqrtsd xmm0, xmm0
jmp 0x517d36
call fcn.00633bd0
movss xmm1, dword [esp + 0x20]
mulss xmm1, dword [0x6a5a90]
movss xmm2, dword [esp + 8]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm2
divss xmm1, xmm0
movss dword [esp + 0x44], xmm1
movss xmm1, dword [esp + 0x2c]
subss xmm1, dword [esp + 0x30]
divss xmm1, xmm0
movss dword [esp + 0x48], xmm1
movss xmm1, dword [esp + 0x24]
mulss xmm1, dword [0x6a5a90]
subss xmm2, xmm1
divss xmm2, xmm0
mulss xmm0, dword [0x69d1e8]
movss dword [esp + 0x4c], xmm2
movss dword [esp + 0x50], xmm0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.0040285e
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x38]
push edi
call fcn.005167f0
test eax, eax
jne 0x517f62
mov ecx, dword [0x7751d4]
push eax
push 0x1b
call fcn.00534ae0
jmp 0x517fb0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xec], 0x3f800000
mov dword [esp + 0xd8], 0x3f800000
mov dword [esp + 0xc4], 0x3f800000
mov dword [esp + 0xb0], 0x3f800000
call fcn.00536a10
push eax
push 0
lea eax, [esp + 0xb8]
push eax
call fcn.004020a5
movss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x84], xmm0
jmp 0x517daf
push ecx
lea eax, [esp + 0x10c]
mov dword [esp], 0x42b40000
push eax
call fcn.00402574
call fcn.00536a10
push eax
push 0
lea eax, [esp + 0x78]
push eax
call fcn.004020a5
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.00401b99
movups xmm0, xmmword [esp + 0xb0]
movups xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [esp + 0xc0]
movups xmmword [esp + 0x80], xmm0
movups xmm0, xmmword [esp + 0xd0]
movups xmmword [esp + 0x90], xmm0
movups xmm0, xmmword [esp + 0xe0]
movups xmmword [esp + 0xa0], xmm0
jmp 0x517daf
mov ecx, dword [esi + 0x38]
push edi
call fcn.00513ed0
push dword [esp + 0xc]
mov ecx, dword [esi + 0x38]
movzx edi, al
call fcn.00513ea0
mov ecx, dword [0x7751d4]
push 1
push 0x1b
movzx esi, al
call fcn.00534ae0
mov ecx, dword [0x7751d4]
push edi
push 0x13
call fcn.00534ae0
mov ecx, dword [0x7751d4]
push esi
push 0x14
call fcn.00534ae0
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
movss xmm0, dword [esi + 0x10]
lea eax, [esp + 0xfc]
push eax
push ecx
mov ecx, dword [esi + 0x38]
movss dword [esp], xmm0
call fcn.0051ce10
push 0
push 0
push 0
lea eax, [esi + 0x2c]
push eax
push 0
push 0
lea eax, [esp + 0x160]
push eax
call fcn.0040298b
movss xmm0, dword [esp + 0xa0]
lea eax, [esp + 0x148]
addss xmm0, dword [esp + 0xfc]
push eax
lea eax, [esp + 0x74]
push eax
push eax
movss dword [esp + 0xac], xmm0
movss xmm0, dword [esp + 0xb0]
addss xmm0, dword [esp + 0x10c]
movss dword [esp + 0xb0], xmm0
movss xmm0, dword [esp + 0xb4]
addss xmm0, dword [esp + 0x110]
movss dword [esp + 0xb4], xmm0
call fcn.00401b99
push dword [esi + 8]
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.00401b99
movups xmm0, xmmword [esp + 0xb0]
mov ecx, dword [0x7751d4]
lea eax, [esp + 0x70]
push eax
movups xmmword [esp + 0x74], xmm0
push 0x100
movups xmm0, xmmword [esp + 0xc8]
movups xmmword [esp + 0x88], xmm0
movups xmm0, xmmword [esp + 0xd8]
movups xmmword [esp + 0x98], xmm0
movups xmm0, xmmword [esp + 0xe8]
movups xmmword [esp + 0xa8], xmm0
call fcn.00534bf0
movaps xmm0, xmmword [0x6a0ec0]
lea eax, [esp + 0x13]
mov ecx, dword [esi + 0x38]
push eax
push edi
movups xmmword [esp + 0x5c], xmm0
call fcn.00513f40
test eax, eax
je 0x5180e4
movzx eax, byte [esp + 0x13]
mov ecx, dword [0x7751d4]
push eax
push 1
push 0
call fcn.00534bb0
mov ecx, dword [esi + 0x38]
lea eax, [esp + 0x54]
push eax
push edi
call fcn.00513f00
movss xmm0, dword [0x69d1f0]
lea eax, [esp + 0x34]
mov ecx, dword [esi + 0x38]
push eax
push edi
movss dword [esp + 0x10], xmm0
call fcn.00514030
test eax, eax
je 0x5181d3
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
cmp ecx, edx
je 0x5181d3
movss xmm1, dword [esi + 0x10]
lea eax, [ecx + 8]
movss dword [esp + 0x24], xmm1
cmp eax, edx
jne 0x518149
movss xmm0, dword [ecx + 4]
movss dword [esp + 8], xmm0
jmp 0x5181d3
movss xmm0, dword [ecx]
comiss xmm0, xmm1
jbe 0x51815f
movss xmm0, dword [ecx + 4]
movss dword [esp + 8], xmm0
jmp 0x5181d3
comiss xmm1, dword [edx - 8]
jbe 0x518172
movss xmm0, dword [edx - 4]
movss dword [esp + 8], xmm0
jmp 0x5181d3
lea eax, [esp + 0x24]
push eax
push edx
push ecx
lea eax, [esp + 0x48]
push eax
call fcn.0050d430
mov eax, dword [esp + 0x4c]
add esp, 0x10
mov ecx, dword [esp + 0x40]
cmp eax, ecx
je 0x51819f
movss xmm0, dword [eax + 4]
movss dword [esp + 8], xmm0
jmp 0x5181d3
movss xmm0, dword [ecx]
sub eax, 8
movaps xmm2, xmm0
mov dword [esp + 0x3c], eax
subss xmm2, dword [esi + 0x10]
subss xmm0, dword [eax]
divss xmm2, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [ecx + 4]
mulss xmm2, xmm0
addss xmm2, dword [ecx + 4]
movss dword [esp + 8], xmm2
mov ecx, dword [esp + 0x28]
push edi
call fcn.00513fa0
mov ecx, dword [esp + 0x38]
lea esi, [eax + 0xa0]
call fcn.004b4b40
mov ecx, dword [esp + 0x1c]
movzx eax, al
shl eax, 5
add eax, dword [esi]
mov dword [esp + 0x20], eax
call fcn.004b4b40
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x18]
movzx ecx, al
mov eax, dword [esi + 0x64]
mov edx, dword [edx + eax + 0x24]
mov eax, dword [edi + eax + 0x28]
mov edi, dword [esp + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x51824b
mov ecx, dword [edx + ecx*4]
mov esi, dword [0x7751d4]
call fcn.00548b10
mov ecx, eax
call sym.metin2client.exe_public:_int___thiscall_libconfig::ParseException::getLine_void_const
push eax
push 0
mov ecx, esi
call fcn.00534b70
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
xorps xmm1, xmm1
movss xmm0, dword [esp + 8]
mulss xmm0, dword [eax + 4]
movss dword [esp + 8], xmm0
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x54]
comiss xmm0, dword [0x69d1f0]
jb 0x518282
mov dword [esp + 0xc], 0xff
jmp 0x5182ad
comiss xmm1, xmm0
jb 0x518291
mov dword [esp + 0xc], 0
jmp 0x5182ad
mulss xmm0, dword [0x69d238]
addss xmm0, dword [0x69d1e8]
call fcn.005dfa90
mov dword [esp + 0xc], eax
xorps xmm1, xmm1
movss xmm0, dword [esp + 0x58]
comiss xmm0, dword [0x69d1f0]
jb 0x5182c6
mov dword [esp + 0x18], 0xff
jmp 0x5182ee
comiss xmm1, xmm0
jb 0x5182d5
mov dword [esp + 0x18], 0
jmp 0x5182ee
mulss xmm0, dword [0x69d238]
addss xmm0, dword [0x69d1e8]
call fcn.005dfa90
mov dword [esp + 0x18], eax
movss xmm0, dword [esp + 0x5c]
xorps xmm1, xmm1
comiss xmm0, dword [0x69d1f0]
jb 0x51830a
mov dword [esp + 0x1c], 0xff
jmp 0x518335
comiss xmm1, xmm0
jb 0x518319
mov dword [esp + 0x1c], 0
jmp 0x518335
mulss xmm0, dword [0x69d238]
addss xmm0, dword [0x69d1e8]
call fcn.005dfa90
mov dword [esp + 0x1c], eax
xorps xmm1, xmm1
movss xmm0, dword [esp + 8]
comiss xmm0, dword [0x69d1f0]
jb 0x51834b
mov eax, 0xff
jmp 0x518369
comiss xmm1, xmm0
jb 0x518354
xor eax, eax
jmp 0x518369
mulss xmm0, dword [0x69d238]
addss xmm0, dword [0x69d1e8]
call fcn.005dfa90
mov ecx, dword [0x7751d4]
shl eax, 8
or eax, dword [esp + 0xc]
shl eax, 8
or eax, dword [esp + 0x18]
shl eax, 8
or eax, dword [esp + 0x1c]
push eax
push 0x3c
call fcn.00534ae0
mov ecx, dword [0x7751d4]
push 0x102
call fcn.00534c60
mov ecx, dword [esp + 0x20]
mov eax, 0xaaaaaaab
push 0x14
mul dword [ecx + 0x10]
push dword [ecx + 0x14]
mov ecx, dword [0x7751d4]
shr edx, 1
push edx
push 4
call fcn.00533a60
mov ecx, dword [esp + 0x28]
inc edi
mov dword [esp + 0xc], edi
call fcn.00513f90
lea edx, [esi + 0x40]
cmp edi, eax
jb 0x517a92
mov ecx, dword [esp + 0x18c]
pop edi
pop esi
xor ecx, esp
call fcn.005df41a
mov esp, ebp
pop ebp
ret