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

Disassembly:
sub esp, 0x9c
mov eax, dword [esp + 0xa0]
push esi
mov esi, ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], esi
test ecx, ecx
jne 0x4efcfe
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x3c], ecx
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4efd10
mov edx, dword [esi + 0x28]
mov dword [esi + 0x38], edx
jmp 0x4efd13
mov dword [esi + 0x38], ecx
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x4efd26
xor eax, eax
pop esi
add esp, 0x9c
ret 4
mov ecx, dword [eax + 0xc]
push ebx
mov dword [esi + 0x40], ecx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x44], edx
mov ecx, dword [eax + 0x18]
mov dword [esi + 0x48], ecx
mov edx, dword [eax + 0x14]
mov dword [esi + 0x4c], edx
mov ecx, dword [eax + 0x1c]
push ebp
push edi
mov dword [esi + 0x50], ecx
mov edx, dword [eax + 0x20]
lea ebx, [esi + 0x58]
push 0xffffffffffffffff
push 0
mov ecx, ebx
mov dword [esi + 0x54], edx
call fcn.004f05f0
mov ecx, dword [esi + 0x3c]
mov ebp, dword [esi + 0x38]
mov eax, dword [ecx + 0x1c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x18]
cdq
sub eax, edx
mov ecx, dword [esi + 0x50]
sar eax, 1
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x1c]
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebp + 0x18]
cdq
idiv dword [esi + 0x54]
mov ebp, edi
mov dword [esp + 0x40], edi
imul ebp, edi
mov edx, eax
mov dword [esp + 0x38], eax
imul edx, eax
add edx, ebp
mov ebp, dword [esi + 0x54]
mov dword [esp + 0x24], edx
xor edx, edx
fild dword [esp + 0x24]
cmp ebp, edx
mov dword [esp + 0x34], edx
fsqrt
fstp dword [esp + 0x7c]
jle 0x4f01a7
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x10], edx
mov edx, eax
neg edx
mov dword [esp + 0x78], edx
mov edx, ebp
mov dword [esp + 0x24], edx
jmp 0x4efdda
mov ebp, dword [esp + 0x30]
test ecx, ecx
mov dword [esp + 0x6c], 0
jle 0x4f017d
mov ecx, edx
mov dword [esp + 0xa4], 0
imul ecx, edx
mov edx, ebp
mov dword [esp + 0x70], ecx
imul edx, ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0xa8], 0x3f800000
imul ebp, ebp
add edx, ebp
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], edx
mov edx, edi
fild dword [esp + 0x28]
neg edx
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x2c]
fsqrt
mov dword [esp + 0x48], edx
fadd dword [esp + 0x7c]
fadd dword [0x50e178]
fstp dword [esp + 0x28]
jmp 0x4efe5c
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], eax
mov eax, edx
imul eax, edx
add eax, ecx
xor ebp, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x4c], ebp
fild dword [esp + 0x18]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], edi
fsqrt
fcom dword [0x513f54]
fnstsw ax
test ah, 0x41
jne 0x4efec0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
sub ecx, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x30]
fild dword [esp + 0x20]
sub edx, eax
mov dword [esp + 0x1c], edx
fdiv st(1)
fstp dword [esp + 0x20]
fild dword [esp + 0x1c]
fdiv st(1)
fstp dword [esp + 0x1c]
fstp st(0)
jmp 0x4efed2
fstp st(0)
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x3f800000
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebp, dword [sym.imp.USER32.dll_OffsetRect]
push eax
lea edx, [esp + 0x50]
push ecx
push edx
call ebp
fld dword [esp + 0x28]
fmul dword [esp + 0x1c]
call fcn.004a59d0
fld dword [esp + 0x28]
fmul dword [esp + 0x20]
push eax
call fcn.004a59d0
push eax
lea eax, [esp + 0x54]
push eax
call ebp
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x60]
push eax
push ecx
mov dword [esp + 0x70], edi
call ebp
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4eff94
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
jmp 0x4effec
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov esi, ecx
mov dword [esp + 0x44], esi
lea ebp, [esi + 1]
test ebp, ebp
jne 0x4f0024
test eax, eax
je 0x4f0017
push eax
mov dword [esp + 0x48], ecx
call fcn.004fcb13
add esp, 4
mov dword [ebx + 4], 0
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
jmp 0x4f0121
test eax, eax
jne 0x4f004d
lea eax, [ebp + ebp*4]
shl eax, 3
push eax
call fcn.004fcaea
add esp, 4
mov dword [ebx + 4], eax
push ebp
push eax
call fcn.004f0730
mov dword [ebx + 0xc], ebp
mov dword [ebx + 8], ebp
jmp 0x4f0121
mov edi, dword [ebx + 0xc]
cmp ebp, edi
jg 0x4f0081
cmp ecx, ebp
jge 0x4f0071
mov edx, ebp
sub edx, ecx
lea ecx, [ecx + ecx*4]
push edx
lea edx, [eax + ecx*8]
push edx
call fcn.004f0730
mov dword [ebx + 8], ebp
jmp 0x4f0121
jle 0x4f0079
sub ecx, ebp
mov dword [esp + 0x44], ecx
mov dword [ebx + 8], ebp
jmp 0x4f0121
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4f00ab
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4f009f
mov eax, 4
jmp 0x4f00ab
cmp eax, 0x400
jle 0x4f00ab
mov eax, 0x400
add eax, edi
cmp ebp, eax
jge 0x4f00b7
mov dword [esp + 0x18], eax
jmp 0x4f00bd
mov dword [esp + 0x18], ebp
mov eax, ebp
lea eax, [eax + eax*4]
shl eax, 3
push eax
call fcn.004fcaea
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
mov edi, eax
add esp, 4
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x74], eax
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 8]
sub edx, ecx
lea ecx, [ecx + ecx*4]
push edx
lea edx, [eax + ecx*8]
push edx
call fcn.004f0730
mov eax, dword [ebx + 4]
push eax
call fcn.004fcb13
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x48]
add esp, 4
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], edx
mov ecx, dword [ebx + 4]
lea eax, [esi + esi*4]
mov edx, dword [esp + 0x40]
lea esi, [esp + 0x84]
lea edi, [ecx + eax*8]
mov ecx, 0xa
mov eax, dword [esp + 0x6c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x48]
add edi, edx
mov edx, dword [esp + 0x3c]
add esi, ecx
inc eax
mov dword [esp + 0x48], esi
mov ecx, dword [edx + 0x50]
mov dword [esp + 0x6c], eax
cmp eax, ecx
mov dword [esp + 0x14], edi
mov esi, edx
jl 0x4efe4c
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
inc ebp
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x10]
add ebp, eax
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x78]
add edx, ebp
mov ebp, dword [esp + 0x34]
cmp ebp, dword [esi + 0x54]
mov dword [esp + 0x24], edx
jl 0x4efdd6
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x9c
ret 4