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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52af5c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
mov bl, byte [0x5a7268]
test bl, bl
sete al
mov byte [0x5a7268], al
mov eax, dword [ebp + 8]
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x18], ecx
lea ebx, [eax + eax*2]
mov eax, dword [ecx + 0x48]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x88], eax
shl ebx, 5
mov eax, dword [ecx + 8]
mov dword [esp + 0x70], ebx
lea ebx, [ebx + edx + 0x40]
push esi
test eax, eax
push edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xc], eax
jle 0x4c0f62
mov esi, 1
xor edi, edi
mov dword [esp + 0x10], esi
cmp esi, eax
mov dword [esp + 0x14], esi
jge 0x4c0f4f
jmp 0x4c0ee5
mov ebx, dword [esp + 0x2c]
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov eax, dword [edx + 4]
mov edx, dword [ebx + 4]
lea ebx, [esi + esi]
xor esi, esi
mov cx, word [eax + edi]
mov si, word [ebx + eax]
mov ecx, dword [edx + ecx*4]
lea edx, [edx + esi*4]
mov esi, dword [edx]
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esi]
mov ecx, esi
fstp qword [esp + 0x7c]
call dword [eax + 8]
fcomp qword [esp + 0x7c]
fnstsw ax
test ah, 1
je 0x4c0f36
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 4]
mov dx, word [ebx + eax]
mov cx, word [eax + edi]
mov word [eax + edi], dx
mov word [ebx + eax], cx
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
inc esi
cmp esi, eax
mov dword [esp + 0x14], esi
jl 0x4c0ee1
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
inc esi
add edi, 2
mov dword [esp + 0x10], esi
lea ecx, [esi - 1]
cmp ecx, eax
jl 0x4c0ed7
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 8]
mov dword [esp + 0x10], esi
call 0x51bc1c
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.0051bc16
test esi, esi
jle 0x4c1020
mov esi, 1
xor edi, edi
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], esi
cmp esi, eax
jge 0x4c1009
mov edx, dword [ebp + 0x14]
xor ecx, ecx
mov eax, dword [edx + 4]
mov edx, dword [ebx + 4]
lea ebx, [esi + esi]
xor esi, esi
mov cx, word [eax + edi]
mov si, word [ebx + eax]
mov ecx, dword [edx + ecx*4]
lea edx, [edx + esi*4]
mov esi, dword [edx]
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esi]
mov ecx, esi
fstp qword [esp + 0x7c]
call dword [eax + 8]
fcomp qword [esp + 0x7c]
fnstsw ax
test ah, 1
je 0x4c0ff0
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 4]
mov dx, word [ebx + eax]
mov cx, word [eax + edi]
mov word [eax + edi], dx
mov word [ebx + eax], cx
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x2c]
inc esi
cmp esi, eax
mov dword [esp + 0x10], esi
jl 0x4c0f9f
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
inc esi
add edi, 2
mov dword [esp + 0x14], esi
lea eax, [esi - 1]
cmp eax, ecx
jl 0x4c0f93
mov edi, dword [ebp + 0xc]
lea ecx, [esp + 0x58]
push edi
call fcn.00487fa0
mov esi, dword [esp + 0x20]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0xc8], 0
fld qword [esi + 0x38]
fmul qword [0x531170]
fld qword [edi + 8]
mov al, byte [esi + 0x7c]
mov dword [esp + 0x58], ecx
fsub st(1)
test al, al
mov dword [esp + 0x5c], edx
fstp qword [esp + 0x60]
fadd qword [edi + 8]
fstp qword [esp + 0x84]
je 0x4c107b
mov eax, dword [esp + 0x78]
mov ecx, dword [esi + 0x6c]
add eax, ecx
fld qword [eax]
fadd st(0), st(0)
jmp 0x4c108c
mov ecx, dword [esp + 0x78]
mov eax, dword [esi + 0x6c]
add ecx, eax
fld qword [ecx]
fmul qword [0x53b010]
fadd qword [edi]
fstp qword [esp + 0x68]
fld qword [edi]
fadd qword [edi + 0x10]
fmul qword [0x531170]
fstp qword [esp + 0x14]
fld qword [edi + 8]
fcomp qword [0x531798]
fnstsw ax
test ah, 1
je 0x4c10c6
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
jmp 0x4c119d
mov ecx, dword [esi + 0x48]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0xc], eax
jle 0x4c119d
mov ecx, dword [esi + 0x44]
mov edx, dword [esp + 0xc]
mov ecx, dword [ecx + edx*4]
call fcn.00498b90
push eax
lea ecx, [esp + 0x3c]
call fcn.00487fa0
fld qword [esp + 0x48]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x4c1180
fld qword [edi + 8]
fsub qword [esi + 0x38]
fcomp qword [esp + 0x50]
fnstsw ax
test ah, 1
je 0x4c1142
fld qword [esp + 0x14]
fcomp qword [esp + 0x48]
fnstsw ax
test ah, 0x41
je 0x4c1142
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
fld qword [esp + 0x50]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x4c1180
fld qword [esp + 0x14]
fcomp qword [esp + 0x48]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
fnstsw ax
test ah, 0x41
je 0x4c1180
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 0x38]
call fcn.00519440
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x48]
inc eax
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x4c10ea
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edx
mov eax, dword [ecx + 8]
dec eax
test eax, eax
mov dword [esp + 0xc], eax
jl 0x4c1537
mov edx, dword [esp + 0x20]
add edx, 0x40
mov dword [esp + 0x10], edx
mov eax, dword [ebp + 0x14]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0xc]
mov dx, word [ecx + eax*2]
mov ecx, dword [ebx + 4]
mov esi, dword [ecx + edx*4]
lea ecx, [esp + 0xa0]
call fcn.00487f90
mov edx, dword [esi]
lea eax, [esp + 0xa0]
push eax
mov ecx, esi
mov byte [esp + 0xcc], 1
call dword [edx + 0x10]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0xa0]
mov dword [esp + 0x5c], edx
call fcn.00488370
fadd qword [esp + 0x84]
fadd qword [0x5345d8]
fld qword [edi + 0x18]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4c125f
lea ecx, [esp + 0xa0]
call fcn.00488370
fadd qword [esp + 0x84]
fadd qword [0x5345d8]
jmp 0x4c1262
fld qword [edi + 0x18]
mov eax, dword [esp + 0x20]
mov cl, byte [eax + 0x7c]
fstp qword [esp + 0x70]
test cl, cl
lea ecx, [esp + 0xa0]
je 0x4c129c
call fcn.00488350
fadd st(0), st(0)
fadd qword [edi]
fcomp qword [esp + 0x68]
fnstsw ax
test ah, 0x41
je 0x4c12cc
lea ecx, [esp + 0xa0]
call fcn.00488350
fadd st(0), st(0)
jmp 0x4c12c6
call fcn.00488350
fmul qword [0x53b008]
fadd qword [edi]
fcomp qword [esp + 0x68]
fnstsw ax
test ah, 0x41
je 0x4c12cc
lea ecx, [esp + 0xa0]
call fcn.00488350
fmul qword [0x53b008]
fadd qword [edi]
fstp qword [esp + 0x68]
lea ecx, [esp + 0xa0]
call fcn.00488350
fmul qword [0x534168]
fadd qword [esp + 0x14]
fcomp qword [esp + 0x68]
fnstsw ax
test ah, 0x41
je 0x4c1307
lea ecx, [esp + 0xa0]
call fcn.00488350
fmul qword [0x534168]
fadd qword [esp + 0x14]
fstp qword [esp + 0x68]
fld qword [edi + 0x10]
fcomp qword [esp + 0x68]
fnstsw ax
test ah, 0x41
je 0x4c131c
fld qword [edi + 0x10]
fstp qword [esp + 0x68]
lea ecx, [esp + 0x58]
push ecx
mov ecx, 0x5a5948
call fcn.004c1ee0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x58]
push edx
push esi
push eax
call fcn.004c08e0
test al, al
je 0x4c1514
xor eax, eax
mov dword [esp + 0x38], 0x534048
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov edx, dword [esi]
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov byte [esp + 0xcc], 2
call dword [edx + 0x14]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
push 0xffffffffffffffff
mov esi, dword [edi + 8]
add ecx, esi
push ecx
mov ecx, edi
call fcn.004ecdd0
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
test ecx, ecx
lea esi, [edx + esi*4]
je 0x4c13af
mov edx, dword [eax]
add eax, 4
mov dword [esi], edx
add esi, 4
dec ecx
jne 0x4c139e
mov ecx, dword [esp + 0x40]
xor esi, esi
mov dword [esp + 0x68], 0
test ecx, ecx
mov dword [esp + 0x6c], 0
jle 0x4c14ad
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + esi*4]
call fcn.00498b90
mov ecx, eax
fld qword [ecx + 8]
fcomp qword [esp + 0x60]
fnstsw ax
test ah, 1
jne 0x4c13ec
fld qword [ecx + 8]
fstp qword [esp + 0x60]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x78]
fld qword [ecx + 0x20]
add edx, dword [eax + 0x6c]
fld qword [edx]
fadd qword [ecx + 0x10]
fstp qword [esp + 0x94]
fld qword [eax + 0x38]
fmul qword [0x531170]
fstp qword [esp + 0x7c]
fld qword [esp + 0x94]
fsub st(1)
fadd qword [esp + 0x7c]
fld qword [esp + 0x68]
fcompp
fnstsw ax
test ah, 0x41
fstp st(0)
je 0x4c1445
fld qword [ecx + 0x20]
fld qword [esp + 0x94]
fsub st(1)
fadd qword [esp + 0x7c]
fstp qword [esp + 0x68]
fstp st(0)
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + esi*4]
call fcn.00498ba0
mov ecx, eax
fld qword [ecx + 0x18]
fcomp qword [esp + 0x70]
fnstsw ax
test ah, 0x41
jne 0x4c1468
fld qword [ecx + 0x18]
fstp qword [esp + 0x70]
fld qword [ecx + 0x10]
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x4c1484
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
fld qword [ecx + 0x18]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x4c14a0
mov edx, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
inc esi
cmp esi, eax
jl 0x4c13c9
mov edi, dword [ebp + 0x14]
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x74]
mov eax, dword [edi + 4]
mov dword [esp + 0x84], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x88], edx
mov ax, word [eax + esi*2]
mov edx, dword [ecx + 8]
push eax
push edx
call fcn.0051bc10
push 1
push esi
mov ecx, edi
call fcn.0051bc04
mov dword [esp + 0x38], 0x534048
mov eax, dword [esp + 0x3c]
mov byte [esp + 0xc8], 3
test eax, eax
je 0x4c1509
push eax
call fcn.0051aee4
add esp, 4
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x38], 0x53138c
lea ecx, [esp + 0xa0]
mov byte [esp + 0xc8], 0
call fcn.00519440
mov eax, dword [esp + 0xc]
dec eax
mov dword [esp + 0xc], eax
jns 0x4c11d9
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x78]
mov edx, dword [ecx + 0x6c]
mov ecx, dword [eax + edx + 0x48]
add eax, edx
mov eax, dword [eax + 0x34]
add eax, ecx
test eax, eax
jle 0x4c165d
mov eax, dword [ebx + 8]
test eax, eax
je 0x4c1668
xor esi, esi
mov dword [esp + 0x38], 0x53ae74
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], esi
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xd0], 4
call fcn.004ecdd0
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x3c]
mov edi, eax
dec eax
test edi, edi
je 0x4c15ad
inc eax
mov edi, dword [edx]
add edx, 4
mov dword [ecx], edi
add ecx, 4
dec eax
jne 0x4c15a0
mov edi, dword [ebp + 0x14]
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x4c15bb
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x4c15ce
push eax
call fcn.0051aee4
add esp, 4
mov dword [ebx + 4], esi
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
cmp dword [edi + 8], esi
jle 0x4c162a
mov edx, dword [ebp + 0x14]
mov edi, dword [ebx + 8]
xor ecx, ecx
push 0xffffffffffffffff
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x40]
mov cx, word [eax + esi*2]
mov eax, dword [edx + ecx*4]
lea ecx, [edi + 1]
push ecx
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.004ecdd0
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x10]
mov dword [edx + edi*4], eax
mov eax, dword [ebp + 0x14]
xor edx, edx
inc esi
mov ecx, dword [eax + 4]
mov dx, word [ecx + esi*2 - 2]
mov ecx, dword [esp + 0x3c]
mov dword [ecx + edx*4], 0
mov ecx, dword [eax + 8]
cmp esi, ecx
jl 0x4c15d9
mov dword [esp + 0x38], 0x53ae74
mov eax, dword [esp + 0x3c]
mov byte [esp + 0xc8], 5
test eax, eax
je 0x4c164b
push eax
call fcn.0051aee4
add esp, 4
mov byte [esp + 0xc8], 0
mov dword [esp + 0x38], 0x53138c
jmp 0x4c1668
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.004ecdd0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x70], ecx
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x74], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 8]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 8]
push edx
test eax, eax
sete dl
push ecx
push edx
mov ecx, esi
call fcn.004c1730
mov ecx, dword [ebp + 0x14]
or ebx, 0xffffffff
push ebx
push 0
call fcn.0051bc16
push ebx
push 0
mov ecx, edi
call fcn.0051bc16
mov eax, dword [esp + 0x90]
mov ecx, dword [esi + 0x48]
cmp eax, ecx
mov dword [esp + 0xc8], ebx
lea ecx, [esp + 0x58]
jne 0x4c1705
call fcn.00519440
xor eax, eax
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.00519440
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
mov eax, 2
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10