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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
mov ebp, dword [esp + 0x78]
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x30], ebx
mov esi, dword [ebp + 0x28]
test esi, esi
je 0x4d654f
fldz
fld qword [esp + 0x90]
fcom st(1)
fnstsw ax
fld qword [0x5bd060]
fld qword [0x5bd058]
test ah, 5
jp 0x4d5c04
fld st(0)
jmp 0x4d5c06
fld st(1)
faddp st(3)
fxch st(2)
call fcn.0055b6c0
mov dword [esp + 0x5c], eax
fild dword [esp + 0x5c]
fld qword [esp + 0x98]
fcom st(4)
fnstsw ax
test ah, 5
jp 0x4d5c2b
fld st(3)
jmp 0x4d5c2d
fld st(2)
faddp st(1)
call fcn.0055b6c0
mov dword [esp + 0x5c], eax
fild dword [esp + 0x5c]
fld qword [esp + 0xa0]
fcom st(5)
fnstsw ax
test ah, 5
jp 0x4d5c50
fld st(4)
jmp 0x4d5c52
fld st(3)
faddp st(1)
call fcn.0055b6c0
mov dword [esp + 0x5c], eax
fild dword [esp + 0x5c]
fst qword [esp + 0x68]
fld qword [esp + 0xa8]
fcom st(6)
fnstsw ax
fstp st(6)
test ah, 5
jp 0x4d5c7b
fstp st(3)
jmp 0x4d5c83
fstp st(4)
fxch st(2)
fxch st(3)
fxch st(2)
fxch st(3)
faddp st(4)
fxch st(3)
call fcn.0055b6c0
mov ecx, dword [esi + 0x54]
mov dword [esp + 0x5c], eax
fild dword [esp + 0x5c]
mov byte [esp + 0x17], 0
mov eax, dword [ecx + 8]
fst qword [esp + 0x70]
cmp eax, dword [ebx + 0x40]
je 0x4d5cbd
mov dword [esi + 0x2c], 0xffffffff
mov eax, dword [ebp + 0x28]
mov dword [eax + 0x30], 0xffffffff
jmp 0x4d5d17
cmp byte [ecx + 0x18], 0
jne 0x4d5d17
fild dword [esi + 0x24]
fstp qword [esp + 0x60]
fld qword [esp + 0x60]
fucomp st(4)
fnstsw ax
test ah, 0x44
jp 0x4d5d17
fild dword [esi + 0x28]
fstp qword [esp + 0x60]
fld qword [esp + 0x60]
fucomp st(3)
fnstsw ax
test ah, 0x44
jp 0x4d5d17
fild dword [ecx]
fstp qword [esp + 0x60]
fld qword [esp + 0x60]
fucomp st(2)
fnstsw ax
test ah, 0x44
jp 0x4d5d17
fild dword [ecx + 4]
fstp qword [esp + 0x60]
fld qword [esp + 0x60]
fucomp st(1)
fnstsw ax
test ah, 0x44
jp 0x4d5d17
mov byte [esp + 0x17], 1
mov eax, dword [ebp + 0x28]
fxch st(1)
mov esi, dword [eax + 0x54]
mov ebp, dword [eax + 0x24]
mov edi, dword [eax + 0x28]
mov eax, dword [esi]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x38], eax
call fcn.0055b6c0
mov dword [esp + 0x48], eax
mov dword [esi], eax
call fcn.0055b6c0
mov edx, eax
fxch st(1)
mov eax, dword [esp + 0x80]
mov dword [esp + 0x4c], edx
mov ecx, dword [eax + 0x28]
mov ecx, dword [ecx + 0x54]
mov dword [ecx + 4], edx
mov ecx, dword [eax + 0x28]
mov edx, dword [ecx + 0x54]
mov ecx, dword [ebx + 0x40]
mov dword [edx + 8], ecx
call fcn.0055b6c0
mov ecx, dword [esp + 0x80]
mov esi, eax
mov ecx, dword [ecx + 0x28]
mov dword [ecx + 0x24], esi
call fcn.0055b6c0
mov edx, dword [esp + 0x80]
mov dword [esp + 0x5c], eax
mov ecx, dword [edx + 0x28]
mov dword [ecx + 0x28], eax
mov ecx, dword [edx + 0x28]
mov ecx, dword [ecx + 0x64]
mov byte [ecx + 0x31], 1
call fcn.0055ff80
cmp byte [esp + 0x17], 0
mov edx, eax
mov dword [esp + 0x44], edx
jne 0x4d5deb
mov eax, dword [esp + 0x80]
cmp eax, dword [ebx + 0x18]
je 0x4d5deb
mov ecx, dword [eax + 0x28]
mov ecx, dword [ecx + 0x64]
mov eax, dword [ecx + 0x80]
test eax, eax
je 0x4d5deb
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x4d5deb
mov ecx, dword [esp + 0x4c]
push 1
push ecx
mov ecx, dword [esp + 0x50]
push ecx
push dword [esp + 0x68]
push esi
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x80]
fld qword [0x5bd078]
mov byte [edx + 0x119], 1
mov eax, dword [ebx + 0x40]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x18], eax
cmp eax, 0x60
jne 0x4d5e15
fstp st(0)
fild dword [ecx + 0x24]
jmp 0x4d5e2c
fild dword [ecx + 0x24]
fstp qword [esp + 0x60]
fmul qword [esp + 0x60]
fild dword [esp + 0x18]
fstp qword [esp + 0x60]
fdiv qword [esp + 0x60]
sub esp, 8
mov edx, str.PixelsLeft
mov ecx, esi
fstp qword [esp]
call fcn.005540f7
mov ecx, dword [esi + 0x28]
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x18], eax
fild dword [ecx + 0x28]
cmp eax, 0x60
je 0x4d5e6a
fstp qword [esp + 0x60]
fld qword [esp + 0x60]
fmul qword [0x5bd078]
fild dword [esp + 0x18]
fstp qword [esp + 0x60]
fdiv qword [esp + 0x60]
sub esp, 8
mov edx, str.PixelsTop
mov ecx, esi
fstp qword [esp]
call fcn.005540f7
mov ecx, dword [esi + 0x28]
mov eax, dword [ebx + 0x40]
cmp eax, 0x60
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x54]
fild dword [eax]
je 0x4d5eaa
fstp qword [esp + 0x60]
fld qword [esp + 0x60]
fmul qword [0x5bd078]
fild dword [esp + 0x18]
fstp qword [esp + 0x60]
fdiv qword [esp + 0x60]
sub esp, 8
mov edx, str.PixelsWidth
mov ecx, esi
fstp qword [esp]
call fcn.005540f7
mov ecx, dword [esi + 0x28]
mov eax, dword [ebx + 0x40]
cmp eax, 0x60
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x54]
fild dword [eax + 4]
je 0x4d5eeb
fstp qword [esp + 0x60]
fld qword [esp + 0x60]
fmul qword [0x5bd078]
fild dword [esp + 0x18]
fstp qword [esp + 0x60]
fdiv qword [esp + 0x60]
sub esp, 8
mov edx, str.PixelsHeight
mov ecx, esi
fstp qword [esp]
call fcn.005540f7
mov eax, dword [esp + 0x44]
mov byte [eax + 0x119], 0
mov ecx, dword [esi + 0x28]
mov eax, dword [ecx + 0x64]
mov esi, dword [eax + 0x80]
test esi, esi
je 0x4d5f84
cmp byte [esi + 0x5f], 0
jne 0x4d5f24
cmp byte [esi + 0x5a], 0
je 0x4d5f84
cmp ebp, dword [ecx + 0x24]
jne 0x4d5f42
cmp edi, dword [ecx + 0x28]
jne 0x4d5f42
mov eax, dword [ecx + 0x54]
mov ecx, dword [esp + 0x34]
cmp ecx, dword [eax]
jne 0x4d5f42
mov ecx, dword [esp + 0x38]
cmp ecx, dword [eax + 4]
je 0x4d5f84
mov esi, dword [esi + 0x34]
test esi, esi
je 0x4d5f84
mov ebx, edi
mov edi, dword [esi + 4]
test edi, edi
je 0x4d5f7a
mov eax, dword [esp + 0x80]
mov edx, dword [edi]
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx + 0x54]
push dword [eax + 4]
push dword [eax]
push dword [ecx + 0x28]
push dword [ecx + 0x24]
push dword [esp + 0x48]
push dword [esp + 0x48]
push ebx
push ebp
push edi
call dword [edx + 0x6c]
mov esi, dword [esi]
test esi, esi
jne 0x4d5f4b
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x4c]
mov esi, dword [edx + 0x30]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], esi
test esi, esi
je 0x4d652a
mov esi, dword [esi + 0xc]
mov edx, str.Visible
push 0xffffffffffffffff
mov ecx, esi
call fcn.005544c4
push 0
mov edx, str.Dock
mov dword [esp + 0x64], eax
mov ecx, esi
call fcn.005544c4
sub esp, 8
fldz
cmp dword [ebx + 0x40], 0x60
mov edx, str.PixelsLeft
mov dword [esp + 0x64], eax
mov ecx, esi
fstp qword [esp]
jne 0x4d5ffd
call fcn.00551c22
jmp 0x4d6013
call fcn.00551c22
fild dword [ebx + 0x40]
fstp qword [esp + 0x50]
fmul qword [esp + 0x50]
fdiv qword [0x5bd078]
sub esp, 8
mov edx, str.PixelsLeft
cmp dword [ebx + 0x40], 0x60
mov ecx, esi
fstp qword [esp + 0x58]
fldz
fstp qword [esp]
jne 0x4d6036
call fcn.00551c22
mov edi, dword [ebx + 0x40]
jmp 0x4d6054
mov edi, dword [ebx + 0x40]
mov dword [esp + 0x20], edi
call fcn.00551c22
fild dword [esp + 0x18]
fstp qword [esp + 0x38]
fmul qword [esp + 0x38]
fdiv qword [0x5bd078]
fldz
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4d6069
fld qword [0x5bd058]
jmp 0x4d606f
fld qword [0x5bd060]
fadd qword [esp + 0x50]
call fcn.0055b6c0
sub esp, 8
mov dword [esp + 0x28], eax
mov edx, str.PixelsTop
mov ecx, esi
fstp qword [esp]
call fcn.00551c22
cmp edi, 0x60
je 0x4d60a4
fild dword [ebx + 0x40]
fstp qword [esp + 0x50]
fmul qword [esp + 0x50]
fdiv qword [0x5bd078]
sub esp, 8
mov edx, str.PixelsTop
cmp dword [ebx + 0x40], 0x60
mov ecx, esi
fstp qword [esp + 0x58]
fldz
fstp qword [esp]
jne 0x4d60c7
call fcn.00551c22
mov edi, dword [ebx + 0x40]
jmp 0x4d60e5
mov edi, dword [ebx + 0x40]
mov dword [esp + 0x20], edi
call fcn.00551c22
fild dword [esp + 0x18]
fstp qword [esp + 0x38]
fmul qword [esp + 0x38]
fdiv qword [0x5bd078]
fldz
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4d60fa
fld qword [0x5bd058]
jmp 0x4d6100
fld qword [0x5bd060]
fadd qword [esp + 0x50]
call fcn.0055b6c0
sub esp, 8
mov dword [esp + 0x24], eax
mov edx, str.PixelsWidth
mov ecx, esi
fstp qword [esp]
call fcn.00551c22
cmp edi, 0x60
je 0x4d6135
fild dword [ebx + 0x40]
fstp qword [esp + 0x50]
fmul qword [esp + 0x50]
fdiv qword [0x5bd078]
sub esp, 8
mov edx, str.PixelsWidth
cmp dword [ebx + 0x40], 0x60
mov ecx, esi
fstp qword [esp + 0x58]
fldz
fstp qword [esp]
jne 0x4d6158
call fcn.00551c22
mov edi, dword [ebx + 0x40]
jmp 0x4d6176
mov edi, dword [ebx + 0x40]
mov dword [esp + 0x20], edi
call fcn.00551c22
fild dword [esp + 0x18]
fstp qword [esp + 0x38]
fmul qword [esp + 0x38]
fdiv qword [0x5bd078]
fldz
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4d618b
fld qword [0x5bd058]
jmp 0x4d6191
fld qword [0x5bd060]
fadd qword [esp + 0x50]
call fcn.0055b6c0
sub esp, 8
mov ebp, eax
mov edx, str.PixelsHeight
mov dword [esp + 0x20], ebp
mov ecx, esi
fstp qword [esp]
call fcn.00551c22
cmp edi, 0x60
je 0x4d61c8
fild dword [ebx + 0x40]
fstp qword [esp + 0x50]
fmul qword [esp + 0x50]
fdiv qword [0x5bd078]
sub esp, 8
mov edx, str.PixelsHeight
cmp dword [ebx + 0x40], 0x60
mov ecx, esi
fstp qword [esp + 0x58]
fldz
fstp qword [esp]
jne 0x4d61e8
call fcn.00551c22
jmp 0x4d61fe
call fcn.00551c22
fild dword [ebx + 0x40]
fstp qword [esp + 0x38]
fmul qword [esp + 0x38]
fdiv qword [0x5bd078]
fldz
fcompp
fnstsw ax
test ah, 0x41
jne 0x4d6211
fld qword [0x5bd058]
jmp 0x4d6217
fld qword [0x5bd060]
fadd qword [esp + 0x50]
call fcn.0055b6c0
mov edi, eax
mov edx, str.Anchors
mov ecx, esi
mov dword [esp + 0x38], edi
call fcn.005571e9
mov esi, eax
test esi, esi
je 0x4d64aa
mov eax, dword [esp + 0x5c]
cmp eax, 5
jne 0x4d626a
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], eax
jmp 0x4d64a4
cmp eax, 1
jne 0x4d6296
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], ecx
add ecx, ebp
sub dword [esp + 0x28], ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], ecx
jmp 0x4d64a4
cmp eax, 3
jne 0x4d62c4
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
sub edi, ebp
add eax, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], eax
jmp 0x4d64a4
cmp eax, 2
jne 0x4d62f0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
add ecx, edi
sub dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], ecx
jmp 0x4d64a4
cmp eax, 4
jne 0x4d631e
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x20], eax
sub ebp, edi
mov eax, dword [esp + 0x30]
add eax, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
jmp 0x4d64a4
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 0x28]
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x30]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x34], edx
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x28]
mov ebp, dword [edi + 0x54]
cmp byte [ebp + 0x18], 0
jne 0x4d64a4
cmp ecx, 0xffffffff
je 0x4d64a4
cmp word [esi + 0x5c], 0
je 0x4d63a4
cmp word [esi + 0x60], 0
mov eax, dword [ebp]
mov dword [esp + 0x18], eax
je 0x4d6398
fild dword [esp + 0x50]
fstp qword [esp + 0x50]
fld qword [esp + 0x50]
fsubr qword [esp + 0x68]
fild dword [esp + 0x18]
fstp qword [esp + 0x50]
fadd qword [esp + 0x50]
call fcn.0055b6c0
fld qword [0x5bd040]
mov dword [esp + 0x18], eax
jmp 0x4d6410
fld qword [0x5bd040]
mov dword [esp + 0x18], eax
jmp 0x4d6414
cmp word [esi + 0x60], 0
je 0x4d63d3
fild dword [esp + 0x50]
fstp qword [esp + 0x50]
fld qword [esp + 0x50]
fsubr qword [esp + 0x68]
fild dword [edi + 0x24]
fstp qword [esp + 0x50]
fadd qword [esp + 0x50]
call fcn.0055b6c0
fld qword [0x5bd040]
jmp 0x4d640c
fld qword [esp + 0x68]
mov eax, ecx
fld qword [0x5bd040]
fmul st(1), st(0)
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
fstp qword [esp + 0x50]
fld qword [esp + 0x50]
fsubp st(2)
fild dword [edi + 0x24]
fstp qword [esp + 0x50]
fld qword [esp + 0x50]
faddp st(2)
fxch st(1)
call fcn.0055b6c0
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x34]
cmp word [esi + 0x5e], 0
je 0x4d644f
cmp word [esi + 0x62], 0
fstp st(0)
je 0x4d644a
fild dword [esp + 0x34]
fstp qword [esp + 0x50]
fld qword [esp + 0x50]
fsubr qword [esp + 0x70]
fild dword [ebp + 4]
fstp qword [esp + 0x50]
fadd qword [esp + 0x50]
call fcn.0055b6c0
mov dword [esp + 0x38], eax
jmp 0x4d64a4
mov eax, dword [edi + 0x28]
jmp 0x4d64a0
cmp word [esi + 0x62], 0
je 0x4d6475
fstp st(0)
fild dword [esp + 0x34]
fstp qword [esp + 0x50]
fld qword [esp + 0x50]
fsubr qword [esp + 0x70]
fild dword [edi + 0x28]
fstp qword [esp + 0x50]
fadd qword [esp + 0x50]
jmp 0x4d649b
fmul qword [esp + 0x70]
mov eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
fstp qword [esp + 0x50]
fsub qword [esp + 0x50]
fild dword [edi + 0x28]
fstp qword [esp + 0x50]
fadd qword [esp + 0x50]
call fcn.0055b6c0
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
fild dword [esp + 0x38]
sub esp, 0x20
mov esi, dword [esp + 0x64]
cmp dword [esp + 0x80], 0
mov ecx, ebx
setne al
xor edx, edx
fstp qword [esp + 0x70]
fld qword [esp + 0x70]
fstp qword [esp + 0x18]
fild dword [esp + 0x38]
movzx eax, al
fstp qword [esp + 0x70]
fld qword [esp + 0x70]
fstp qword [esp + 0x10]
fild dword [esp + 0x3c]
fstp qword [esp + 0x70]
fld qword [esp + 0x70]
fstp qword [esp + 8]
fild dword [esp + 0x40]
fstp qword [esp + 0x70]
fld qword [esp + 0x70]
fstp qword [esp]
push dword [esp + 0x7c]
push eax
push dword [esi + 8]
push dword [esi + 0xc]
call fcn.004d5bc6
mov esi, dword [esi]
add esp, 0x30
mov dword [esp + 0x44], esi
test esi, esi
jne 0x4d5fba
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 0x28]
mov ecx, dword [esp + 0x48]
cmp dword [esp + 0x8c], 0
mov dword [eax + 0x2c], ecx
mov eax, dword [edx + 0x28]
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x30], ecx
setne cl
mov eax, dword [edx + 0x28]
mov byte [eax + 0x34], cl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret