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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x100
mov esi, esp
mov dword [esi + 0xe8], ebp
mov ebx, dword [ebp + 8]
lea eax, [esi + 0xf0]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x4edfe0
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
xorpd xmm0, xmm0
movupd xmmword [esi + 0x7c], xmm0
movupd xmmword [esi + 0x6c], xmm0
movupd xmmword [esi + 0x5c], xmm0
movupd xmmword [esi + 0x4c], xmm0
movupd xmmword [esi + 0x3c], xmm0
movupd xmmword [esi + 0x2c], xmm0
movupd xmmword [esi + 0x1c], xmm0
mov dword [esi], ecx
cmp dword [ecx + 0x394], 1
mov eax, 0x5c
mov ecx, 0x74
cmove ecx, eax
mov dword [esi + 0x18], ecx
mov ecx, ebx
call fcn.004b4eca
test al, al
je 0x4ed05b
mov dword [esi + 0x1c], 0xa800000f
lea edi, [esi + 8]
mov ecx, ebx
push edi
call fcn.004b4ca4
mov dword [esi + 0xf8], 0
mov ecx, edi
call fcn.004afaf0
lea ecx, [esi + 0x8c]
push 0x5c
push eax
push ecx
call fcn.005e2280
add esp, 0xc
lea ecx, [esi + 8]
call fcn.004af8b4
fstp qword [esi + 0x10]
movsd xmm0, qword [esi + 0x10]
mulsd xmm0, qword [0x62df90]
cvttsd2si eax, xmm0
lea ecx, [esi + 0x32]
mov dword [ecx - 0xe], eax
lea edi, [esi + 0xa8]
mov al, byte [edi - 5]
mov dl, byte [edi - 1]
mov byte [ecx - 2], al
mov byte [ecx - 1], dl
push 0x20
push edi
push ecx
call fcn.00458d4c
add esp, 0xc
cmp byte [edi - 8], 0
je 0x4ed026
or byte [esi + 0x20], 2
cmp dword [esi + 0x9c], 0x2bc
mov ebx, dword [ebp + 8]
jne 0x4ed039
or byte [esi + 0x20], 1
cmp byte [esi + 0xa1], 0
je 0x4ed046
or byte [esi + 0x20], 4
cmp byte [esi + 0xa2], 0
je 0x4ed053
or byte [esi + 0x20], 8
lea ecx, [esi + 8]
call fcn.004af4be
mov ecx, ebx
call fcn.004b4c2e
test al, al
je 0x4ed0be
or byte [esi + 0x1e], 0x80
mov ecx, ebx
call fcn.004b4c36
lea ecx, [eax*8 - 8]
dec eax
mov edx, 0x80301
shr edx, cl
mov ecx, ebx
xor ebx, ebx
cmp eax, 3
cmovae edx, ebx
mov byte [esi + 0x88], dl
call fcn.0048609a
mov dword [esi + 4], eax
mov edi, 0x7cf61c
mov ecx, dword [esi + 4]
push edi
call fcn.004661e0
test al, al
jne 0x4ed0b5
inc ebx
add edi, 0x14
cmp ebx, 0x11
jne 0x4ed09d
xor ebx, ebx
mov byte [esi + 0x8b], bl
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.004b4b5e
test al, al
je 0x4ed0ea
or byte [esi + 0x1f], 0x40
mov ecx, ebx
call fcn.00485f9c
mov dword [esi + 0xf8], 0xffffffff
push eax
call fcn.00484397
add esp, 4
mov dword [esi + 0x2c], eax
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov edx, dword [esi]
cmp dword [edx + 0x394], 1
je 0x4ed12d
mov ecx, dword [ebp + 8]
call fcn.004b4b80
mov edx, dword [esi]
test al, al
je 0x4ed12d
or byte [esi + 0x1f], 4
mov ecx, dword [ebp + 8]
call fcn.00485fb0
mov dword [esi + 0xf8], 0xffffffff
push eax
call fcn.00484397
mov edx, dword [esi]
add esp, 4
mov dword [esi + 0x78], eax
mov eax, ebx
and eax, edi
cmp eax, 0xffffffff
je 0x4ed15f
lea ecx, [edx + 0x384]
mov eax, dword [edx + 0x384]
mov eax, dword [eax + 0xb0]
mov dword [esi + 0xf8], 0xffffffff
push 0
push ebx
push edi
call eax
mov edx, dword [esi]
xor edi, edi
inc edi
jmp 0x4ed164
mov edi, 4
mov ecx, edx
call fcn.00401abc
lea ecx, [esi + 0x18]
push ecx
push edi
push 0x444
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test eax, eax
jne 0x4ed187
call fcn.00401cb0
test edi, edi
setne al
mov ecx, dword [esi + 0xf0]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc